List decisions
list_decLists decision records with ids, titles, statuses, and refs from a decision base directory. Filter by glob, page results with offset and max_results to review decisions before opening one by id.
Instructions
Ids, titles, statuses, and refs of decisions in the configured decision base directory, one page at a time, for context before addressing one by id. 'ref' is an opaque, extensionless identifier -- not a filename to read from disk -- for documents that have no assigned id; use it with the get_dec tool instead. An optional glob pattern (e.g. 'dead*') filters the listing to the decisions whose id matches it, case-insensitively; glob=None (the default) lists everything, and an empty string matches nothing. max_results/offset control paging (default page size 25, capped at 100); out-of-range values are clamped, not errored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | ||
| offset | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | ||
| offset | Yes | ||
| results | Yes | ||
| truncated | Yes | ||
| error_count | No | ||
| max_results | Yes |