Get Test Tasks
get_tasksGet the tasks (test steps) of a Userbrain test by its id. These are the instructions the customer set up that testers (participants) work through during the unmoderated study — typically task prompts and questions. Each step has a teststep id (the same id that get_videos task responses reference, so use this tool to resolve those ids to their instructions), a type, the instruction text (task), and a response count. Returns the tasks as text and structured data (no interactive UI). Use list_tests first to find the testId.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"testId": "<testId>"
},
"name": "get_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testId | Yes | The numeric id of the test (from list_tests). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | ||
| testId | Yes |