Overview
Tools enable you to discover, search, and execute actions across your Apigene applications. Agent mode adds context tools and Agent Skills-compatible skill listing, retrieval, and creation. 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)
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/
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)
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
