get_template_files
Retrieves template files for a new paper project, returning filenames and contents while excluding metadata and reference-only PDFs. Binary images are base64-encoded.
Instructions
Return {filename: content} for the files that belong in a new paper project.
Excludes metadata.json and reference-only PDFs. Binary assets (images) are
base64-encoded; everything else is plain text.
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": {
"template_id": "<template_id>"
},
"name": "get_template_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes | ||
| user_library_dir | No | /root/.paperpilot/templates |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||