Overview
Tools enable you to discover, search, and execute actions across your Apigene applications. 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")
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 context
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)
results array and summary statistics
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")
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
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
