Set credit limit
core_set_credit_limitChange how much unpaid exposure we will carry for a customer. This is the human decision the credit gate's refusal points to. When o2c refuses to confirm an order, the answer is never to route around the gate — it is for someone with the authority to change this number to change it, here, with a reason that will be read back. A limit of 0 means prepay only. Lowering a limit never touches already-confirmed orders; it tightens the gate for the next one. Effects: customer.credit_limit changed for future confirmations.
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": {
"customer_id": "<customer_id>",
"credit_limit": "<credit_limit>",
"reason": "<reason>"
},
"name": "core_set_credit_limit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why — approved by whom, on what basis. This is the audit answer to "who raised it". | |
| customer_id | Yes | The customer. An existing customer id. | |
| credit_limit | Yes | The new limit. In cents (integer minor units) — 1250 means $12.50. |