plan_tool_mapping
Batch submit all sub-query to tool mappings in one call, specifying tool, parameters, and reasoning for each mapping.
Instructions
Phase 5: Submit ALL sub-query → tool mappings in ONE call (batch).
mappings_json: JSON array, each element shape: {"sub_query_id":"sq1","tool":"web_search","reason":"...", "params":{"platform":"GitHub"}}
tool must be: web_search.
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": {
"session_id": "<session_id>",
"thought": "<thought>",
"mappings_json": "<mappings_json>"
},
"name": "plan_tool_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thought | Yes | Reasoning for the full mapping | |
| confidence | No | Confidence 0.0-1.0 | |
| session_id | Yes | Session ID from plan_intent | |
| is_revision | No | True to replace prior mappings | |
| mappings_json | Yes | JSON array of mapping objects (see description) |