paydirt_toggle_form
Enable or disable an existing form remotely. Disabled forms are hidden from the SDK; toggling again reverses the change.
Instructions
Use this when the user asks to enable or disable an existing form remotely. Disabled forms are not shown by the SDK; calling again with the opposite value reverses the change.
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": {
"form_id": "<form_id>",
"enabled": "<enabled>"
},
"name": "paydirt_toggle_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | Whether the form should be enabled (true) or disabled (false) | |
| form_id | Yes | The form ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form | Yes |