Inspect space files
inspect_spaceRead files and directories in a space. A space is a virtual filesystem with these directories:
app/ - Genesis app source code (React, CSS, config). Writable via
write_file.projects/ - Task trees (.taskproj files). Read-only.
agents/ - AI agent definitions (.md files). Read-only.
automations/ - Workflow definitions (.taskflow files). Read-only.
media/ - Uploaded files. Read-only. Use path "." to list the root, then navigate into subdirectories.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spaceId": "<spaceId>"
},
"name": "inspect_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | VFS path to view. Examples: "." (root), "app/", "app/src/App.tsx", "projects/", "agents/", "automations/", "media/" | . |
| appId | No | App ID. When omitted, resolves the default (first-created) app in the space. | |
| spaceId | Yes | Space ID | |
| viewRange | No | Line range [start, end] for viewing file excerpts: 1-based, both lines included, and an end of -1 means the last line |