trawl_run_agent
Runs a named Trove agent with a local LLM: retrieves relevant context, applies the agent prompt, and returns a generated response to the query or task.
Instructions
Run a Trove agent with local LLM — searches context, applies agent prompt, generates response.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_name": "<agent_name>",
"query": "<query>"
},
"name": "trawl_run_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Query or task for the agent | |
| top_k | No | Context chunks to retrieve (default: 10) | |
| pool_name | No | Client for context | |
| providers | No | Optional comma-separated provider allowlist (e.g. 'kimi,haiku'). When set, the LLM used by the agent must come from this list or the call fails. Accepts: local, kimi, gemini, haiku, sonnet, opus. | |
| agent_name | Yes | Agent to run |