Switch a function on or off
dosai_set_function_activeTurn a bot function on or off, e.g. stop the bot from booking while the calendar is being fixed. Requires editor role.
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": {
"project_id": "<project_id>",
"function_id": "<function_id>",
"is_active": "<is_active>"
},
"name": "dosai_set_function_active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_active | Yes | ||
| project_id | Yes | From dosai_list_projects. | |
| function_id | Yes | From dosai_list_functions. |