Get theme file
get_theme_fileRead a theme file by path (e.g. layouts/theme.liquid). Falls back to the active built-in theme when no custom copy exists.
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": {
"blogId": "<blogId>",
"file_path": "<file_path>"
},
"name": "get_theme_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blogId | Yes | Blog ID. Use list_blogs to discover available blog IDs. | |
| file_path | Yes | Text theme file path ending in .liquid, .css, .js, .html, .json, .xml, or .txt. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |