Destroy a connector
destroy_connectorDestroy an organization connector and its stored credential. This cannot be undone, so confirm with the user first. A connector that any website, app, or agent still holds is refused, and the answer names each holder: free each with detach_connector, then destroy it. A connector an agent owns is not an organization connector; the answer says what removes it. Destroying a connector that is already gone changes nothing. Requires connecting a Valet account.
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": {
"connector": "<connector>"
},
"name": "destroy_connector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_name | No | The Valet organization the connector belongs to. Omit to use the organization the account joined first. | |
| connector | Yes | The connector's name in the organization. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | Name of the Valet organization the call acted in. | |
| kind | Yes | Always connector: the kind of thing this tool destroys. | |
| name | Yes | Name of the connector destroyed. | |
| already_gone | No | True when the connector was already gone before the call, so nothing was destroyed. Absent when this call destroyed it. |