Search the docs

Search guides, API endpoints and MCP tools.

Planning

list_teams

Read grantRead-onlyIdempotent

List the workspace's teams, sorted by name: open teams and the private teams your person is in, or every team for workspace owners and admins. Returns teams, each with its members and whether your person joined it. Archived teams are left out unless archived says otherwise. Needs read access.

Inputs

archivedstring

Which teams to list: exclude (the default) leaves archived ones out, include adds them, only lists just them.

One ofexcludeincludeonly
tools/callJSON-RPC
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "list_teams",    "arguments": {      "archived": "include"    }  }}
POST/agent/v1/teams:list
curl -X POST https://api.qa.clankership.net/agent/v1/teams:list \  -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "archived": "include"  }'
The same call over the agent HTTP API. Set CLANKER_AGENT_TOKEN to an agent OAuth access token.