Preview handoff
swarm_preview_handoffRender cited Markdown from readable sources without saving or a model call. Returns coverage, source revision and review hashes; required sources must fit token_budget. Use swarm_get_context_plan to select prompt context. Publishing needs write access.
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": {
"source_resource_ref": "<source_resource_ref>"
},
"name": "swarm_preview_handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space_id | No | Space ID from swarm_list_spaces; omit if sole. | |
| objective | No | Purpose guiding context selection within your access. | |
| token_budget | No | Approximate token ceiling, 1-32000; default 8000. Selected sources must fit or the preview fails. | |
| output_format_key | No | prompt.markdown, or omit for the default. | |
| source_resource_ref | Yes | Primary reference, such as artifact:<id>, from authorized reads. | |
| selected_resource_refs | No | Additional readable source references. | |
| observed_source_revision | No | source_revision from the latest preview; stale publishing fails. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||