plan_complexity
Assess and estimate the complexity of a web search task before execution by assigning a level from 1 to 3, estimating sub-queries and tool calls, and providing justification to guide the search process.
Instructions
Optionally assess search complexity from 1 to 3.
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>",
"level": "<level>",
"estimated_sub_queries": "<estimated_sub_queries>",
"estimated_tool_calls": "<estimated_tool_calls>",
"justification": "<justification>"
},
"name": "plan_complexity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Complexity level. | |
| thought | No | ||
| confidence | No | ||
| session_id | Yes | Session ID from plan_intent. | |
| is_revision | No | ||
| justification | Yes | ||
| estimated_tool_calls | Yes | ||
| estimated_sub_queries | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| status | No | success | |
| partial | No | ||
| session_id | No | ||
| error_detail | No | ||
| plan_complete | No | ||
| executable_plan | No | ||
| completed_phases | No | ||
| complexity_level | No | ||
| phases_remaining | No |