paperclip_list_workspaces
List all workspaces in a project to find workspace details like path and repository URL.
Instructions
List all workspaces for a project.
Args:
projectId: string — Project UUID (example: "prj_abc123")
response_format: 'markdown' | 'json' (optional) — Output format (default: markdown)
Returns: Pagination envelope { items: Workspace[], total, count, offset, limit, has_more, next_offset }. Each item: id, cwd, repoUrl, projectId, createdAt.
Examples:
Use when: finding the workspace cwd or repoUrl before an agent starts executing in it
Don't use when: you need the project record — use paperclip_get_project which includes workspaces
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
404: project not found → verify ID with paperclip_list_projects
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project UUID | |
| limit | Yes | Max workspaces per page (1–100, default 50) | |
| offset | Yes | Number of workspaces to skip (default 0) | |
| response_format | Yes | Output format: 'markdown' (default, human-readable) or 'json' (structured) | markdown |