get_template_file
Fetch a single file from a template version's file tree by path.
identifier accepts UUID, @handle/slug, or @handle/slug@vN.
path must match a row in the template's file manifest (use
get_template to see the manifest). SKILL.md returns the
template body. Text files return the decoded string in content.
Small binary files return base64-encoded bytes in content_base64.
Binary files over the size limit return metadata and an error
field with no inline bytes.
Non-owner responses carry the safety banner and
safety_verification_status. Anonymous callers may fetch files
from live (published) template versions only; the liveness check is
evaluated per read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative path of the file within the bundle's file tree, exactly matching a manifest entry. | |
| version | No | Pin to a specific version number; omit to use the latest version. | |
| identifier | Yes | The template to fetch, identified by its UUID, @handle/slug, or @handle/slug@vN to pin a specific published version. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||