List roles
list_rolesList the roles in the selected Semata workspace. Each role represents one hiring need and owns exactly one screening list of candidates. Call this to see what the user is hiring for, or to resolve a role name to its id before calling the role detail tool.
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": {
"workspaceId": "<workspaceId>"
},
"name": "list_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum roles to return. | |
| offset | No | Number of roles to skip. | |
| workspaceId | Yes | The workspace id returned by list_workspaces. Use 'personal' for the personal workspace. | |
| includeClosed | No | Include archived roles as well as active ones. Defaults to active only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| error | No | ||
| limit | No | ||
| roles | No | ||
| total | No | ||
| offset | No | ||
| workspaceId | No |