set_availability
Mutation. Turn new leads on or off for the storefront. When turning them off, add an away note and optional away-until date so customers know when the business returns.
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": {
"enabled": "<enabled>",
"proAccessToken": "<proAccessToken>"
},
"name": "set_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| awayNote | No | ||
| awayUntil | No | YYYY-MM-DD, or null for no return date. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |