peaka_list_tables
List tables in a Peaka catalog schema with their cache state, optionally filtering by table name to find specific tables in large schemas.
Instructions
List the tables of a catalog schema in the Peaka project: the catalog and schema once, then one row per table with its name and cache state.
cache: "cached" = the table is read from Peaka's cache; "not_cached" = it can be cached but is read live from the source (a live read of a SaaS source may return only its first page of records); "not_cacheable" = always read live from the source (e.g. a database).
Use tableNameContains to look up specific tables in a large schema; totalTables is the schema's size before that filter. Descriptions are left out unless includeDescriptions is true.
If you do not already know the projectId for the current task, call peaka_list_projects first and ask the user which project to use. Remember the chosen projectId for subsequent calls in this conversation.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": {
"projectId": "<projectId>",
"catalogId": "<catalogId>",
"schemaName": "<schemaName>"
},
"name": "peaka_list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| catalogId | Yes | The catalog's id, or its name as written in SQL (e.g. "stripe" in stripe.payment.charges). "peaka" with schemaName query or mtquery is the saved queries, with any other schema the Peaka tables. | |
| projectId | Yes | The Peaka project ID to run against. | |
| schemaName | Yes | ||
| tableNameContains | No | Only tables whose name contains this text, ignoring case. | |
| includeDescriptions | No | Add each table's description as plain text. Large schemas get a much larger response. |