Get cohort details
get_cohortGet one Flowlines cohort and its rules and metrics.
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": {
"reason": "<reason>",
"user_intent": "<user_intent>",
"namespace_id": "<namespace_id>",
"cohort_id": "<cohort_id>"
},
"name": "get_cohort"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | A short phrase saying why you are calling this tool, for example: find unpaid invoices. | |
| cohort_id | Yes | ||
| user_intent | Yes | One sentence describing what the user is trying to accomplish. Keep it the same across calls until the user's goal changes. | |
| namespace_id | Yes | Flowlines namespace UUID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| notice | No | ||
| truncation | Yes |