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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | json | |
| capture_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||