plan_search_term
Submit a batch of search terms with purpose references and strategy-level controls for approach and fallback.
Instructions
Phase 4: Submit ALL search terms in ONE call (batch).
terms_json: JSON array, each element shape: {"term":"react server components 2025","purpose":"sq1","round":1}
Strict rules (enforced):
term MUST be ≤8 words (engine rejects otherwise)
purpose MUST reference a declared sub-query id
one term per (purpose, round); add multiple rounds for follow-up refinement
approach (broad_first | narrow_first | targeted) and fallback_plan are strategy-level; pass them as top-level params, not inside terms.
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>",
"terms_json": "<terms_json>"
},
"name": "plan_search_term"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thought | Yes | Reasoning for the full strategy | |
| approach | No | broad_first | narrow_first | targeted | targeted |
| confidence | No | Confidence 0.0-1.0 | |
| session_id | Yes | Session ID from plan_intent | |
| terms_json | Yes | JSON array of search-term objects (see description) | |
| is_revision | No | True to replace prior strategy | |
| fallback_plan | No | Fallback if primary searches fail |