set_profile
Configure a provider's local profile—spend permission, funding status, and login—and save it to the config so agents can decide when paid model calls are allowed.
Instructions
Set local spend_ok / funded / login for a provider. Saved to the config file.
spend_ok: allow unprompted paid picks (default false). funded: a paid call would work (card or credits). Not permission. login: how you signed up, e.g. github:youruser or google:you@example.com.
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": {
"provider": "<provider>"
},
"name": "set_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| login | No | ||
| funded | No | ||
| provider | Yes | ||
| spend_ok | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |