AIDE/DOCS/TOOLS/aide_inspect

aide_inspect

Updated
Source commit
249106a
Cite as
https://aidemd.dev/docs/tools/aide_inspect?v=249106a

Lets an agent learn what a function does from its contract alone: the documentation comment, the signature and the kind of symbol.

When to call it

When an agent knows a symbol's name, for example from an orchestrator's import list, and needs to know what it takes and returns before deciding whether to read its body.

Parameters

NameRequiredMeaning
nameYesThe symbol to look up.
fileNoOne file to search, when the location is already known.

What it returns

The symbol's documentation comment, its signature and its kind (function, type, constant and so on). It searches TypeScript and JavaScript files (ts, tsx, js, jsx, mjs, cjs).

Guarantees

  • Read-only.
← prev
aide_init
next →
aide_observer_end_session