list_surveys
List surveys — each with its id, title, status (live/draft/closed) and the team it lives in. With no teamId this lists the surveys across ALL the user's teams; pass teamId to list just one. Call this whenever the user refers to a survey by name or description rather than giving its id directly (e.g. "add a question to my Rolls Royce survey") — match their description against the titles returned here to find the right id, then use that id with the other tools.
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_surveys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamId | No | Which team workspace to act in (ids come from get_account_info or list_surveys). Optional: if omitted, the server uses the team that owns the given surveyId, or your only team. Required for create_survey when you belong to several teams. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total surveys in the workspace (may exceed surveys.length if the listing was truncated) | |
| surveys | Yes | The surveys shown, capped at 100 | |
| truncated | Yes | True if total exceeds surveys.length |