List workspace code files
list_filesLists a workspace's code files and their sizes so you can see what exists before reading or writing one, instead of fetching the entire workspace.
Instructions
Lists the workspace's code files with their sizes — names only, no content. Use it to see what exists before reading or writing one, instead of pulling the whole workspace to find out.
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": {
"workspaceId": "<workspaceId>"
},
"name": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes |