search_value
Find where a value appears across database tables using fuzzy, case-insensitive substring matching. Returns the schema, table, column, match counts and sample values for each hit.
Instructions
Find WHERE a value appears across tables (fuzzy, case-insensitive substring).
Returns meta, results and truncated: one result per column containing the
value, with schema, table, column, matches (a count) and samples.
For speed on large databases, first narrow with list_tables/find_columns and pass
a tables shortlist; otherwise it scans all non-system tables (bounded, may
return partial results flagged truncated, which meta.truncated repeats).
Matches arrive on the text channel only, inside the untrusted-data banner: this tool emits no structuredContent.
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": {
"database": "<database>",
"value": "<value>"
},
"name": "search_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Text to look for inside column values, case-insensitively. | |
| tables | No | Only search these tables: bare names as list_tables shows them, without a schema prefix. Omit to scan every non-system table. | |
| database | Yes | Name of a configured database, exactly as list_databases returns it (case-sensitive). Not a DSN, host or server-side database name. An unknown name is an error that lists the configured names. | |
| limit_per_column | No | Sample values to return per matching column (default 5). |