get_capture
Retrieve a saved capture by its unique ID and receive it in JSON, Markdown, YAML frontmatter, or legacy Markdown format.
Instructions
Fetch a single capture by id, in the requested format.
Args:
capture_id: The capture ULID.
format: One of json (default; payload as JSON), markdown
(vault markdown), vault-frontmatter (YAML frontmatter
only), or legacy-markdown (pre-typed-payload format).
Returns:
On success: payload in the requested format wrapped in a
{"format": ..., "body": ...} envelope. On failure:
structured error dict.
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": {
"capture_id": "<capture_id>"
},
"name": "get_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | json | |
| capture_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||