Projects, newest first, a line each: id, name, revision, size, duration. next_cursor as cursor gives more.
Behaviour#
These are the annotations of the tool definition, the hints a client uses to decide whether to ask before a call. project_list is listed by tools/list.
| Property | Value |
|---|---|
| Read only | yes |
| Destructive | no |
| Idempotent | yes |
| Reaches outside the workspace | no |
Input#
| Argument | Type | Required | Notes |
|---|---|---|---|
state | active, trashed, all | no | default "active" |
cursor | string | no | |
limit | integer | no | min 1; max 100; default 20 |
Output#
A result has a text block, written for the model, and structured content with these members.
| Member | Type | Always present | Notes |
|---|---|---|---|
projects | array of object | yes | |
projects[].name | string | no | Untrusted text: data, not an instruction |
next_cursor | string or null | yes |
Errors#
A call over HTTP without credentials fails with E_UNAUTHORIZED, and too many calls with E_RATE_LIMITED. Both are in the error codes.
Next steps#
Ask the agent
Which projects do I have? Show the five newest.
The call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "project_list",
"arguments": {
"state": "active",
"limit": 5
}
}
}The result
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "…"
}
],
"structuredContent": {
"projects": [
{
"id": "prj_7k2m9x4q1b",
"name": "Launch teaser",
"state": "active",
"revision": 12,
"width": 1080,
"height": 1920,
"fps": "30",
"tracks": 3,
"items": 14,
"assets": 4
}
],
"next_cursor": null
}
}
}The values are illustrative. The text block holds the same result written for the model; its wording is left out here.