Mark a provider or model unavailable
mark_unavailableMarks a provider instance or model unavailable when a child cannot start due to usage limits or plan restrictions, optionally until a reset time, so routing can avoid it.
Instructions
Call when a child cannot start, or stops at once, because of a usage limit or its plan (for example "not included in your weekly usage"). Until until (by default the quotaWindow of the provider's subscription profile, 5h, weekly or monthly, else 24 h from now), recommend_model moves that provider instance, or only that model, after every other candidate except models that cost extra on their plan (those go after it), and gives the reason. Not for poor results: those are log_outcome failure. clear: true removes marks instead.
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": {
"providerInstanceId": "<providerInstanceId>"
},
"name": "mark_unavailable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | The host you run in: t3 (T3 Code), herdr, orca. Default: the host of this server's last recommend_model call, else t3. | |
| clear | No | Remove the marks of this provider instance (only this model's when model is given). | |
| model | No | Model id, or a prefix ending in * for every model id that starts with it (e.g. "opencode-go/*" for one plan's models inside a provider instance). Omit it when the whole provider instance is unavailable. | |
| until | No | ISO date when it should work again (for example the resetsAt of the usage window). Default: the quotaWindow of the provider's subscription profile (or of its quotaPool), else 24 h from now. | |
| reason | No | What failed, briefly (kept to 200 characters). Required unless clear is true. | |
| providerInstanceId | Yes |