export_chain
Export a chain as raw Markdown to share or back up, returning content, SHA-256 hash, and suggested filename. Use the exported file to recreate the chain via save_chain.
Instructions
Export a chain's raw Markdown source for sharing (returns content, sha256, suggested filename). To import a shared chain, read its file and call save_chain with the content. If the name exists in both global and project scope, pass scope to disambiguate.
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": {
"name": "<name>"
},
"name": "export_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| scope | No |