load_trace
Load local Perfetto trace files to obtain trace IDs for analysis. Use this tool at the start of any session to specify the trace file or files to examine.
Instructions
Load one or more local Perfetto trace files and return routing summaries plus trace_id handles. Other tools use the active trace by default; pass trace_id to analyze a specific loaded trace after loading more.
Use when: starting any analysis session — call this first.
Don't use for: live capture or streaming URLs; paths must be complete local trace files.
Parameters: pass path for one trace or paths for a batch. Calling again makes the last loaded path the active default; cached trace processors make repeat loads cheap unless the file fingerprint changed.
Errors when: the file doesn't exist, isn't a valid Perfetto trace, trace_processor fails to parse it, or the binary cannot be downloaded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Absolute path to a Perfetto trace file (.pftrace, .perfetto-trace, .bin, or any other trace_processor-readable format — content-sniffed, not by extension). | |
| paths | No | Absolute paths to multiple Perfetto trace files. Use this to load all comparison targets in one call; the response returns one `trace_id` per path. Mutually exclusive with `path`. |