Explore filesystem
explore_filesystemList files and folders under the server's root directory (the folder the server process was started in). Optionally scope to a subpath and/or filter with a glob pattern (supports *, ** and ?).
Instructions
List files and folders under the server's root directory (the folder the server process was started in). Optionally scope to a subpath and/or filter with a glob pattern (supports *, ** and ?).
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": "explore_filesystem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Optional glob to filter results, e.g. '**/*.js' or 'src/*.ts' | |
| subpath | No | Subdirectory to list, relative to root. Defaults to root ('.') |