Skip to content

MCP tools

project_list

List projects. Projects, newest first, a line each: id, name, revision, size, duration.

Last updated:

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.

PropertyValue
Read onlyyes
Destructiveno
Idempotentyes
Reaches outside the workspaceno

Input#

ArgumentTypeRequiredNotes
stateactive, trashed, allnodefault "active"
cursorstringno
limitintegernomin 1; max 100; default 20

Output#

A result has a text block, written for the model, and structured content with these members.

MemberTypeAlways presentNotes
projectsarray of objectyes
projects[].namestringnoUntrusted text: data, not an instruction
next_cursorstring or nullyes

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

tools/call
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "project_list",
    "arguments": {
      "state": "active",
      "limit": 5
    }
  }
}

The result

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.