list_dir
List one-level directory entries, restricting paths to the workspace root. This allows agents to inspect folder contents while preventing access outside the allowed area.
Instructions
List directory entries (one level). Path confine to BRIDGE_WORK_ROOT per .
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| workdir | No |