set_favorite_script
Mark one script as the favorite by passing 'main' or a variant id, or omit the draft to clear it, keeping your preferred version starred on its tab.
Instructions
Mark one script as the favorite (star on its tab): 'main' or a variant id. Omit draft to clear it.
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": {
"session": "<session>"
},
"name": "set_favorite_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | 'main' or a variant id. | |
| session | Yes | Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work. |