List tables
list_tablesLists tables in a SynapCores database, with optional LIKE pattern filtering, so you can discover available data before writing SQL queries.
Instructions
List the tables in a SynapCores database, optionally filtered by a LIKE-style name pattern, and return {database, tables: [{name}], count}. Use it to discover what exists before writing SQL; use describe_table for a table's columns and types. Internal tables (names starting with "_") are hidden unless include_system=true. Read-only.
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": "list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Name filter with LIKE wildcards: % matches any run of characters, _ matches one character (for example 'order%'). | |
| database | No | Database name; omit to use the default database. | |
| include_system | No | true = also list internal tables whose names start with '_' (default false). |