Agent Workspace
Glob
Find files in the agent’s workspace matching a glob pattern
POST
Workspace: Glob
Find files in the per-agent workspace matching a glob pattern (e.g.
**/*.py). Useful for discovering files before reading or editing them.
Path Parameters
Request Body
Directory to search from, relative to the workspace root. Defaults to the workspace root when omitted.
Response
Example Request
Notes
- Use
**to match across directory boundaries and*to match anything within a single path segment. - Combine with Grep to search the contents of the matched files.
See Also
Body
application/json

