export_content
Export matched content to a file for knowledge indexing. Specify a name, optional glob pattern, and output path to save rendered content.
Instructions
Export rendered content to a file for knowledge indexing.
Reuses get_content logic to gather and render content, then returns it with an instruction to write to the resolved path.
Arguments
expression (required): string
Name to match against collections and categories.
pattern: any
Optional glob pattern to filter files (e.g., '*.md').
path (required): string
Output filename. If no directory component, uses resolved export directory. Extension .md added if missing.
force: boolean
Overwrite existing file. Default is create-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Arguments for export_content tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |