execute_plan
Validate and run a geoprocessing plan step by step; invalid plans run nothing, step outputs resolve by reference, and per-step provenance manifests record results.
Instructions
Validate, then execute a geoprocessing plan step by step.
The plan is re-validated first (an invalid plan runs nothing). Steps run in order; "$step_id" references resolve to the outputs of earlier steps. Every step writes its own provenance manifest, and a plan-level manifest (.plan.json, with the plan sha256 and per-step outcomes) ties them together. Execution stops at the first failing step; outputs already produced stay on disk with their manifests. Same plan format as validate_plan — validate first, then execute.
A step_warnings key in the response means the plan ran but some step
produced a suspicious result (an empty output, non-overlapping inputs):
read it before treating a completed plan as a correct one.
Verification failures include structured checks and a three-attempt repair budget. To retry, change the plan yourself, choose NEW output paths and pass the previous .plan.json as repair.previous_manifest. MapSmith never chooses or runs the repair for you; every attempt is linked in the manifests and a fourth is refused.
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": "execute_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| repair | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||