set_team_member_cap
Set a member's monthly cap on the pool (null removes it). A run started near the cap holds only what is left, so the cap is never passed mid-run (403 team_cap_reached below a run's minimum or a tool's price). Owner only. Needs admin. Free. Same as PATCH /v1/team/members/{member_id}.
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": {
"member_id": "<member_id>",
"monthly_cap": "<monthly_cap>"
},
"name": "set_team_member_cap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| member_id | Yes | a member_id from get_team | |
| monthly_cap | Yes | 1 to 1,000,000 credits a UTC month, or null for no cap |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |