Skip to content

get_logic_slice ​

Returns a symbol and all symbols it depends on (transitively), filtered and truncated to fit a token budget. Supports four detail levels (L1-L4).

Parameters ​

NameTypeRequiredDescription
symbolIdstringyesFully-qualified symbol id
detail"L1" | "L2" | "L3" | "L4"noProgressive detail (default L2)
intentstringnoKeyword filter on results

Example ​

json
{
  "symbolId": "packages/cli/src/adapters/storage/sqlite.ts::SqliteStorageAdapter::class",
  "detail": "L2"
}

Response ​

json
{
  "symbol": { "name": "SqliteStorageAdapter", "kind": "class" },
  "dependencies": [ /* ... */ ],
  "_meta": { "totalItems": 42, "returnedItems": 42, "truncated": false }
}

Released under the MIT License.