Read a flow
get_flowRead a flow's Markdown, revision history, and saved versions before editing; view an older version to restore prior content.
Instructions
Read a flow's Markdown, revision and saved versions before editing it.
flow: a bare ID or builtin:/user:/repo:<id>. version: an entry from history,
to view or restore older text (restore = save_flow with that content).
For a local copy of a built-in, upstream holds the current built-in text.
flow.sync_conflicts: library sync could not merge two machines' versions
(reason, local_version); tell the user before editing.
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": {
"flow": "<flow>"
},
"name": "get_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | Yes | ||
| version | No | Optional version id of the flow; defaults to the current one. | |
| workspace | No | Absolute path of your working directory, the project this session works in. Pass it whenever you have one: one server can serve several sessions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |