delete_golden_sql
Remove a specific Golden SQL example from a knowledge base by providing its ID and the knowledge base ID. Requires the BAIC_ALLOW_DESTRUCTIVE environment variable to be set.
Instructions
Delete a Golden SQL example. Requires BAIC_ALLOW_DESTRUCTIVE=true.
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": {
"knowledge_base_id": "<knowledge_base_id>",
"golden_sql_id": "<golden_sql_id>"
},
"name": "delete_golden_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| golden_sql_id | Yes | ||
| knowledge_base_id | Yes |