MySQL JSON Remove
mysql_json_removeRemove specified JSON path values from columns in MySQL tables using a WHERE clause to target rows.
Instructions
Remove values from JSON columns at specified paths.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mysql_json_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | Alias for column | |
| key | No | Alias for single path to remove | |
| sql | No | Alias for where | |
| keys | No | Alias for paths | |
| name | No | Alias for table | |
| path | No | Alias for single path to remove | |
| paths | No | JSON paths to remove (Anti-Hallucination: Pass 'paths', not 'path' or 'keys') | |
| query | No | Alias for where | |
| rowId | No | Alias for where (used with idColumn) | |
| table | No | Table name (Anti-Hallucination: Pass 'table', not 'tableName') | |
| where | No | WHERE clause to identify rows (REQUIRED. Anti-Hallucination: Pass 'where', not 'query' or 'sql') | |
| column | No | JSON column name | |
| filter | No | Alias for where | |
| idColumn | No | Alias for where (used with rowId) | |
| condition | No | Alias for where | |
| tableName | No | Alias for table | |
| columnName | No | Alias for column |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, QUERY_ERROR) | |
| data | No | ||
| error | No | Error message if operation failed | |
| details | No | Additional error context | |
| metrics | No | Token estimation metrics | |
| success | Yes | Whether the operation succeeded | |
| category | No | Error category (validation, query, connection, internal) | |
| suggestion | No | Suggested fix for the error | |
| recoverable | No | Whether the error is recoverable |