Get custom role credit limit
get_role_credit_limitRetrieve the monthly credit limit assigned to a custom role to check spending boundaries; a null value means the role has no individual limit.
Instructions
This endpoint returns the monthly credit limit of one custom role. A monthly_credit_limit of null means the role sets no limit of its own.
Read operation.
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": {
"organization_id": "<organization_id>",
"role_id": "<role_id>"
},
"name": "get_role_credit_limit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Named private Gumloop account; selects private credentials and user/team identity. | |
| role_id | Yes | The ID of the custom role (the same ID used as `group_id` by the Manage custom role users endpoint). | |
| user_id | No | Your user id -- you must be an organization admin to manage custom role credit limits. | |
| organization_id | Yes | The ID of the organization the custom role belongs to. |