kernel_plan_validate
Validate and simulate a DAG plan without executing it: detect cycles, dangling dependencies, and unknown tools, then estimate cost and latency and flag side effects requiring approval.
Instructions
Validate + simulate a plan (DAG of tool calls). Pure: nothing executes. Returns issues (cycles, dangling deps, unknown tools), estimated_cost (sum of per-node p50s, latency = critical path), side_effects_preview, and requires_approval (true when any node calls a non-reversible tool). Pair with kernel_plan_execute.
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": {
"plan": "<plan>"
},
"name": "kernel_plan_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||