provider_get_theme_flavor_file
Fetches a specific theme file by theme folder, flavor (such as light or dark), and filename, enabling retrieval of theme resources without authentication or API version headers.
Instructions
Load a file of a theme with the given id, if it exists. This resource is accessible without authentication and without the need to specify Accept header containing an api version.
GET /cloudapi/v1/themes/files/{themeRootFolder}/{flavor}/{fileName}
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": {
"themeRootFolder": "<themeRootFolder>",
"flavor": "<flavor>",
"fileName": "<fileName>"
},
"name": "provider_get_theme_flavor_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flavor | Yes | For example light or dark version of the resource in the theme. (path) | |
| fileName | Yes | The name of the theme file resource to fetch. (path) | |
| themeRootFolder | Yes | The name of the folder holding all files of a theme. (path) |