Get theme
get_themeGet the project's active theme (colors, typography, spacing). variables is what the live site renders; hasUnpublishedDraft is true when the theme editor holds staged changes that are not live yet, and draftVariables then carries those staged values.
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": {
"projectId": "<projectId>"
},
"name": "get_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The project ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| variables | No | ||
| draftVariables | No | ||
| hasUnpublishedDraft | Yes |