Trace one Lampa symbol through code
trace_symbolFollow a symbol through the snapshot graph to trace its event listeners, component lifecycle, dependency blast radius, API calls, or upgrade impact.
Instructions
Follow one event, component, file, or provider through the snapshot graph — not a full catalog (list_catalog) and not raw grep (search_code). Examples: mode=event target=app; lifecycle target=src/components/full.js; deps a file path; upgrade a repo-relative file path (not an API name); omit target only for api_calls (optional target is a provider keyword). Missing target otherwise → error; unknown event → markdown note (not a crash); deps reverse-refs cap at 20.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | event=Listener bus; lifecycle=component contract; deps=import blast radius; api_calls=external fetches; upgrade=scan a file for 2.x→Maker APIs. | |
| target | No | Required except api_calls. event: name e.g. 'app'/'player'; lifecycle: component name or path e.g. 'src/components/full.js'; deps/upgrade: repo-relative file path; api_calls: optional provider keyword. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | Yes | Human-readable markdown report. Always present, including empty-result cases. Does not write files. |