list-dir
List entries in a directory. Read-only.
id tool/list-dirv1.0.0function list_dir
Signature
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | yes | Directory path |
recursive | boolean | no | Recurse into subdirs |
| returns | array | Entry names (strings). |
Tool definition for the model
{
"name": "list_dir",
"description": "Return the names of entries in a directory.",
"input_schema": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Directory path"
},
"recursive": {
"type": "boolean",
"description": "Recurse into subdirs"
}
},
"required": [
"path"
]
}
}Used by
- agent/code-reviewer — Code Reviewer
Author convergent-systems-key. Source convergent-systems-co/agent-atoms (original ↗). License Apache-2.0. Re-typed from tool-definition by scripts/migrate-policy-tool.py.