Overview
Tools enable you to discover, search, and execute actions across your Apigene applications. Agent mode adds context tools, Agent Skills-compatible skill listing/retrieval/creation, and Agent Workflows (run_workflow, resume_workflow, and CRUD). When MCP App UI is enabled, additional tools render results in UI widgets. All tools follow the standard MCP tool calling protocol.
Tools Reference
get_instructions
Get the complete agent instructions and capabilities. Available in: Agent mode only Parameters: None Returns: Agent instructions including description, guidelines, and available apps Example:list_available_apps
List all available applications in the agent. Available in: Agent mode only Parameters:include_action_summaries(boolean, optional): Include action summaries (default:true)max_action_summary(number, optional): Max summaries per app (default:20)
list_actions
Retrieve actions from one or multiple applications. Available in: Both MCP and Agent modes Parameters:requests(array, required): Array of action requests, each containing:app_name(string, required): Application identifieroperationIds(array, optional): Specific action IDs to fetch. If omitted, returns all actionsdetail_level(string, optional):"summary"or"full"(default:"full")
- Discovery Mode: Omit
operationIdsto get all actions (usedetail_level: "summary"for lightweight listing) - Details Mode: Provide
operationIdsto get full parameter schemas
search_actions
Search across all agentic metadata to find relevant actions. Available in: Both MCP and Agent modes Parameters:query(string, optional): Free text searchaction_type(string, optional): Filter by type (get, search, add, update, delete, execute)resource(string, optional): Filter by resource typemin_rating/max_rating(number, optional): Filter by ratingrequired_input(string, optional): Only actions requiring this parametermax_results(number, optional): Maximum results to returndetail_level(string, optional):"summary"or"full"(default:"full")
actions, a short message, and suggestions (for example: broaden the query, use list_available_apps, or use list_actions for a specific app) instead of only an empty list.
Example:
run_action
Execute a single action for a specific application. Available in: Both MCP and Agent modes Parameters:app_name(string, required): Application identifieruser_input(string, required): Natural language descriptioncontext(object, required): Action parameters includingoperationIdresponse_format(string, optional):"raw"or"formatted_md"(default:"raw")response_projection(string, optional): JMESPath expression to transform responsecustomer_execution_context(object, optional): Customer-specific contextreasoning(string, optional): Short explanation of why this action was chosen; supports decision tracing in agent workflows
run_action_batch
Execute the same action multiple times in parallel with different parameters. Available in: Both MCP and Agent modes Parameters:app_name(string, required): Application identifieruser_input(string, required): Natural language descriptionbase_context(object, required): Shared parameters (must includeoperationId)batch_context(array, required): Array of varying parameters, one per executionresponse_format(string, optional): Output formatresponse_projection(string, optional): JMESPath expressioncustomer_execution_context(object, optional): Customer context
batch_results array and summary statistics
Example:
run_multi_actions
Execute multiple different actions in parallel across different applications. Available in: Both MCP and Agent modes Parameters:actions(array, required): Array of action requests, each containing:app_name(string, required)user_input(string, required)context(object, required): Must includeoperationIdresponse_format(string, optional)response_projection(string, optional)customer_execution_context(object, optional)template_id(string, optional): Only set when a specific MCP App template should render that action’s result in the UI
results array and summary statistics
Example:
run_action_ui
Execute a single action with MCP App UI rendering so results can be shown in a visual widget (when your host supports MCP Apps). Available in: Both MCP and Agent modes, when MCP App UI features are enabled for your Apigene deployment. Parameters:app_name(string, required): Application identifieruser_input(string, required): Natural language descriptioncontext(object, required): Action parameters includingoperationIdresponse_format(string, optional):"raw"or"formatted_md"(default:"raw")customer_execution_context(object, optional): Customer-specific contextreasoning(string, optional): Why this action was chosentemplate_id(string, optional): Only include when the user explicitly requests a specific template; otherwise omit so the default template applies
run_action, this tool does not accept response_projection.
run_multi_actions_ui
Execute multiple different actions in parallel with MCP App UI rendering (for example a grid or mesh layout comparing outputs). Available in: Both MCP and Agent modes, when MCP App UI features are enabled for your Apigene deployment. Parameters:actions(array, required): Same shape asrun_multi_actions(each item may includetemplate_idwhen a specific template is requested)
Generative UI Tools
These tools render json-render specs as interactive MCP App widgets. They are separate fromrun_action_ui (which visualizes API action results). Generative UI tools are available when MCP App UI is enabled (APIGENE_FEATURE_SHOW_GENERATIVE_UI is not disabled on your deployment).
Only call generative UI tools when the user explicitly asks for interactive or visual UI. Do not auto-invoke for normal text answers.
show_generative_ui
Render a one-off generative UI from an inline json-render spec. Available in: Both MCP and Agent modes, when generative UI is enabled. Parameters:title(string, optional): Heading shown above the widgetspec(object, required): json-render spec{ root, elements, state? }— layout inelements, dynamic values instatebound via{ "$state": "/path" }
ui://show-generative-ui.
Example:
list_generative_ui_templates
List saved generative UI templates for the agent from the MCP connection URL. Available in: Both MCP and Agent modes, when generative UI is enabled. Parameters:detailed(boolean, optional, defaultfalse): Iftrue, include fullgenerative_specper template; if omitted/false, return summary fields only (template_id, description, audit fields)
create_generative_ui_template
Persist a new generative UI template for reuse. Available in: Both MCP and Agent modes, when generative UI is enabled. Parameters:template_id(string, required): Unique template id (client-provided)generative_spec(object, required): json-render spec (same shape asshow_generative_ui)description(string, optional): Human-readable description
update_generative_ui_template
Patch an existing template. Available in: Both MCP and Agent modes, when generative UI is enabled. Parameters:template_id(string, required): Template to updatedescription(string, optional, nullable): New description;nullclears it; omit to leave unchangedgenerative_spec(object, optional): Replacement spec; omit to keep current layout
get_generative_ui_template
Load one template including its fullgenerative_spec.
Available in: Both MCP and Agent modes, when generative UI is enabled.
Parameters:
template_id(string, required)
delete_generative_ui_template
Remove a saved template. Available in: Both MCP and Agent modes, when generative UI is enabled. Parameters:template_id(string, required)
show_generative_ui_from_template
Render UI from a saved template, merging runtime data intospec.state.
Available in: Both MCP and Agent modes, when generative UI is enabled.
Parameters:
template_id(string, required): Id fromcreate_generative_ui_templatetitle(string, optional): Override titledata(object, optional): Values deep-merged into the template’sstatebefore render
ui://show-generative-ui.
Example:
list_contexts
List all available contexts and context type definitions. Available in: Agent mode only Parameters: None Returns: Object withcontexts array and context_types array
Example:
get_context
Get detailed information about a specific context. Available in: Agent mode only Parameters:context_id(string, required): The context identifier
search_contexts
Search for contexts with flexible filtering. Available in: Agent mode only Parameters:query(string, optional): Search querytype(string, optional): Filter by context typestatus(string, optional): Filter by status (default:"active")max_results(number, optional): Maximum results (default:5)
contexts and context_types
Example:
add_context
Create a new context in the system. Available in: Agent mode only Parameters:name(string, required): Unique context namedescription(string, required): Detailed descriptionsummary(string, optional): Short summarywhen_to_use(string, optional): Usage guidelinestype(string, optional): Context type (must match existing types)apps(array, optional): Associated app namesstatus(string, optional):"active"or"disabled"(default:"active")
list_skills
List skill metadata attached to the agent (Agent Skills style). Does not return the fullSKILL.md body; use get_skill_content for that.
Available in: Agent mode only
Parameters:
detail_level(string, optional):"summary"(id, name, description only; fewer tokens) or"full"(all metadata fields; default:"full")
skill_list entries. Summary mode is best for discovery; full mode includes fields such as license, compatibility, metadata, allowed tools, status, and timestamps.
Example:
get_skill
Fetch one skill by id: metadata plus optional packaged files (scripts, references, assets). Does not return the main SKILL.md body; use get_skill_content for the instruction text.
Available in: Agent mode only
Parameters:
skill_id(string, required): Skill identifier
skill payload (metadata and optional path→content maps for scripts, references, assets).
Example:
get_skill_content
Return the fullSKILL.md content for a skill (YAML front matter plus Markdown body).
Available in: Agent mode only
Parameters:
skill_id(string, required): Skill identifier
content string.
Example:
add_skill
Create a new skill and attach it to the current agent. Content should follow the Agent Skills specification (valid name format, description length, structured front matter, reasonably sized body with long reference material inreferences/ when needed).
Available in: Agent mode only
Parameters:
name(string, required): Skill name (lowercase, hyphens; per spec)description(string, required): What the skill does and when to use itcontent(string, required): FullSKILL.md(front matter + Markdown body)license(string, optional)compatibility(string, optional)metadata(object, optional)allowed_tools(string, optional)status(string, optional):"active"or"disabled"(default:"active")scripts(object, optional): Map of file path to content underscripts/references(object, optional): Map of file path to content underreferences/assets(object, optional): Map of file path to content underassets/
Agent workflow tools
Multi-step graphs on an agent. Product guide: Workflows.list_workflows
List workflows for the current agent. Available in: Agent mode only Parameters:detailed(boolean, optional): Return full definitions instead of summaries
create_workflow
Create a workflow (workflow_id, description, nodes, connections; optional name, inputs).
Available in: Agent mode only
get_workflow
Fetch one workflow byworkflow_id (detailed optional).
Available in: Agent mode only
update_workflow
Update an existing workflow byworkflow_id (optional fields: description, name, nodes, connections, inputs).
Available in: Agent mode only
delete_workflow
Delete a workflow byworkflow_id.
Available in: Agent mode only
run_workflow
Execute a workflow. Available in: Agent mode only Parameters:workflow_id(string, required)inputs(object, optional): Runtime inputs merged over stored defaultsinclude_data(boolean, optional): Include per-step traces (needed to Simulate in Copilot)dry_run(boolean, optional): Walk the graph without live API / MCP / LLM side effects
resume_workflow
Continue a run paused at a human approval (waiting_human).
Available in: Agent mode only
Parameters:
run_id(string, required)decision(string, required):"approve"or"reject"edits(object, optional): Field overrides before approvereason(string, optional)include_data(boolean, optional)
Recommended Workflows
Discovering and Executing Actions
- Discovery: Use
list_actionswithdetail_level: "summary"to find relevant actions - Get Details: Use
list_actionswithoperationIdsto get full parameter schemas - Execute: Use
run_actionwith complete parameters
Searching for Actions
- Search: Use
search_actionswithdetail_level: "summary"to find actions - Get Details: Use
list_actionswith specificoperationIdsfor full schemas - Execute: Use
run_actionwith proper parameters
Batch Operations
- Identify Action: Find the action you want to execute multiple times
- Prepare Batch: Create
base_contextwith shared parameters andbatch_contextwith varying parameters - Execute: Use
run_action_batchfor parallel execution
Skills
- Discover:
list_skillswithdetail_level: "summary"to see what exists - Read instructions:
get_skill_contentfor the mainSKILL.mdbody when activating a skill - Optional files:
get_skillif you need scripts, references, or assets - Create:
add_skillwhen adding a new skill to the agent (follow Agent Skills formatting rules)
Agent Workflows
- Create / update:
create_workfloworupdate_workflowwith nodes and connections - Dry run:
run_workflowwithdry_run: trueandinclude_data: true - Simulate in Copilot on the agent’s Workflows tab after a traced run
- HITL: when status is
waiting_human, callresume_workflowwithrun_idanddecision
Generative UI
- Ad hoc:
show_generative_uiwith an inline{ root, elements, state? }spec - Persist:
create_generative_ui_template→list_generative_ui_templates/get_generative_ui_templateto manage - Render saved:
show_generative_ui_from_templatewithdatamerged into templatestate - Update or remove:
update_generative_ui_templateordelete_generative_ui_template
Complete Tool Index
* Requires MCP App UI / generative UI features to be enabled on your deployment. Individual tools can also be disabled per agent via Setup → MCP tool toggles in the Agents editor.
Response Formatting
response_format Parameter
"raw"(default): Returns exact API response"formatted_md": Returns Markdown-formatted response (use when explicitly requested)
response_projection Parameter
Use JMESPath expressions to transform and reduce response size:- Field Selection:
"{name: name, email: email}" - Array Extraction:
"items[*].name" - Filtering:
"items[?price > 100]" - Aggregation:
"sum(items[*].price)"
Error Handling
Tools return standard error responses when:- Authentication fails
- Required parameters are missing
- Action execution fails
- Invalid operation IDs are provided
Next Steps
- Workflows — product guide for graphs, simulate, and approvals
- Learn about resources
- See usage examples
