MySQL LIKE Search
mysql_like_searchFind rows in a MySQL table using LIKE pattern matching with % and _ wildcards. Specify table, column, and pattern.
Instructions
Find rows using LIKE pattern matching with % and _ wildcards.
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_like_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | Alias for column | |
| sql | No | Alias for pattern | |
| name | No | Alias for table | |
| limit | No | Maximum number of rows to return | |
| query | No | Alias for pattern | |
| table | No | Table name | |
| where | No | Additional WHERE clause for filtering | |
| column | No | Column name | |
| filter | No | Alias for where | |
| pattern | No | LIKE pattern with % and _ wildcards | |
| tableName | No | Alias for table |
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 |