Export Content
export_contentReturns rendered content and delivery frontmatter for a client-owned file write, using a destination within configured write paths.
Instructions
Return rendered content and delivery frontmatter for a client-owned file write.
The destination must be covered by configured write paths. Guide neither writes the client file nor records an export or grants new permissions.
Arguments
session_id: string | null
Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id.
expression (required): string
Comma-separated collection or category names, each optionally followed by /pattern (for example 'docs', 'docs/*.md', 'docs,examples', or 'review/commit+guide'). Each name is resolved as a collection first, then as a category. Results are aggregated and de-duplicated.
pattern: string | null
Optional glob pattern to filter files (e.g., '*.md').
path (required): string
Client-supplied destination within configured allowed write paths. Guide does not select a directory or add an extension.
force: boolean
Overwrite existing file. Default is create-only.
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": {
"args": "<args>"
},
"name": "export_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Arguments for export_content tool. |