Get Plan
get_planA plan in full: the request behind it, each step's tool and arguments, what each step was estimated to touch, and -- once it has run -- what each step actually did. A step carrying no outcome DID NOT RUN, which is how a plan that stopped part-way is read: the steps before the stop have outcomes and the ones after do not. status is the plan's one state (running, needs_input, blocked, failed, stopped, cancelled, ready) with the reason; last_firing_state, last_fired_at, last_firing_invoked_by and error describe its newest firing; next_fire_at, previous_fire_at and schedule_state (none, fired, due, missed, unknown) say whether its schedule kept its last slot.
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_id": "<plan_id>",
"connection_id": "<connection_id>"
},
"name": "get_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | The plan to read. | |
| connection_id | Yes | The CRM connection. Call list_crm_connections first. |