list_tables
List tables and views in a loaded Perfetto trace to explore its schema or verify table existence. Filter with an optional GLOB pattern.
Instructions
List tables and views in the loaded trace. Read-only.
Use when: exploring an unfamiliar trace or verifying a table exists before writing SQL. Underlying SQL engine is SQLite, so the catalog tables common in other SQL engines aren't present — this MCP tool is the schema introspection path.
Don't use for: queries against known stdlib modules — go straight to execute_sql with INCLUDE PERFETTO MODULE. Don't reference this tool name inside SQL; it's a separate MCP tool, not a SQL function — call it via the tool API.
Parameters: optional pattern — SQLite GLOB filter (e.g. chrome_* for chrome stdlib views, slice* for the slice table family). Without it, internal stdlib tables (_*) are hidden.
Empty result: no tables matched the pattern. If a doc-listed table is missing, retry with an explicit pattern in case it's marked internal.
Errors when: no trace is loaded — call load_trace first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Optional GLOB pattern to filter table names (e.g. "chrome_*"). |