SkillsHooksPromptsAgentsPersonasModelsPoliciesToolsTemplatesBundlesCategoriesStart here
← Tools
To toolcommandcodingfs-readstable

list-dir

List entries in a directory. Read-only.

id tool/list-dirv1.0.0function list_dir

Signature

ParameterTypeRequiredDescription
pathstringyesDirectory path
recursivebooleannoRecurse into subdirs
returnsarrayEntry 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

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.