list_projects
Fetch a paginated list of projects in a workspace. Supports cursor-based pagination and sorting via order_by.
Instructions
List projects in a workspace (paginated).
Args: cursor: Prior response's next_cursor; omit for first page. per_page: Results per page (1-100, default 100). order_by: Sort field; prefix '-' for descending.
Returns: Paginated envelope with full project objects: results + total_count, next_cursor, next_page_results.
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": "list_projects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| order_by | No | ||
| per_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| results | Yes | ||
| grouped_by | No | ||
| extra_stats | No | ||
| next_cursor | Yes | ||
| prev_cursor | Yes | ||
| total_count | Yes | ||
| total_pages | Yes | ||
| total_results | Yes | ||
| sub_grouped_by | No | ||
| next_page_results | Yes | ||
| prev_page_results | Yes |