get_plan
Fetch a single plan by UUID including all linked parameters and metadata.
Input roles:
- plan_uuid: The UUID string from a create_plan response or a list_plans result. Use plan_uuid, not the integer id.
Usage patterns:
- **Always call get_plan before update_plan** to read current state and avoid overwriting fields with stale values.
- Use _produced_content to determine whether the plan has linked content (null = no content yet).
- Use _source_metadata_resolved for tooltip / inline attribution display without extra lookups.
- Before calling create_content with plan_id, verify the plan is NOT in Complete stage. If stage = Complete, ask the user whether to re-open the plan (update_plan target_stage: 'Accepted') before generating again.
- reference_documents is filtered to documents readable by the current user — do not assume the full list is returned if the team has cross-team sharing enabled.
Errors:
- NotFound — plan_uuid doesn't exist or is not visible to you. Cross-team plans return NotFound, not AccessDenied. A teammate's PRIVATE plan (visibility='private', you are neither creator nor assignee) also returns NotFound — do not retry.
**Links:** present `link_url` to the user exactly as returned — copy it character for character. Never retype, shorten, or rebuild a link or the IDs inside it.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_uuid": "<plan_uuid>"
},
"name": "get_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_uuid | Yes | The UUID of the plan to fetch (use plan_uuid, not the integer id). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes |