discover_tools
Two-step tool finder and executor for all enterprise APIs.
STEP 1 — DISCOVER: Call with only 'query'. Returns matching tools with their names and inputSchemas.
STEP 2 — EXECUTE: Call again with 'query' + 'tool_name' + 'tool_args'. Gateway executes the tool and returns real data directly.
You NEVER call any other tool directly. Always use discover_tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Optional department filter. | |
| query | Yes | User intent in plain natural language. | |
| top_k | No | Number of tools to return. Default 5, max 10. | |
| tool_args | No | STEP 2 only — arguments matching the tool's inputSchema exactly. Provide together with tool_name to execute the tool. | |
| tool_name | No | STEP 2 only — exact tool name from previous discover response. Must match a name returned in the previous discover call exactly. |