Update budget

veryfront__update_budget

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
monthly_limit_creditsnumberYesNew monthly AI spending limit in credits. Usage already recorded this month is retained; if the new limit is below it, the next call in the scope is rejected. At most 8589934591.999999 credits, with at most six decimal places. Minimum: 0. Maximum: 8589934591.999999.
budget_idstringYesBudget ID. A budget you cannot manage is masked as missing and fails with resource-not-found (404). Format: uuid.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

request.json
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_budget",    "arguments": {      "monthly_limit_credits": 0,      "budget_id": "00000000-0000-4000-8000-000000000000"    }  }}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
idstringYesUnique identifier for the returned record. Format: uuid.
scopeobjectYesStructured scope details returned by the tool.
monthly_limit_usdnumberYesThe monthly AI spend limit, in USD
monthly_limit_creditsnumberYesThe same limit in credits, the unit spend is counted in
statusobjectYesLifecycle status for the returned record.
created_atstringYesCreation timestamp in ISO 8601 format.
updated_atstringYesLast update timestamp in ISO 8601 format.

Full schemas

input-schema.json
{  "type": "object",  "properties": {    "monthly_limit_credits": {      "type": "number",      "minimum": 0,      "maximum": 8589934591.999999,      "description": "New monthly AI spending limit in credits. Usage already recorded this month is retained; if the new limit is below it, the next call in the scope is rejected. At most 8589934591.999999 credits, with at most six decimal places."    },    "budget_id": {      "type": "string",      "format": "uuid",      "description": "Budget ID. A budget you cannot manage is masked as missing and fails with resource-not-found (404)."    }  },  "required": [    "monthly_limit_credits",    "budget_id"  ],  "additionalProperties": false,  "description": "API keys and runtime credentials are refused. A member cap cannot target the caller.",  "$schema": "http://json-schema.org/draft-07/schema#"}
output-schema.json
{  "type": "object",  "properties": {    "id": {      "type": "string",      "format": "uuid",      "description": "Unique identifier for the returned record."    },    "scope": {      "type": "object",      "properties": {        "kind": {          "type": "string",          "enum": [            "api_key",            "member",            "project"          ],          "description": "The kind returned by the tool."        },        "project_id": {          "anyOf": [            {              "type": "string",              "format": "uuid",              "description": "Project identifier associated with this result."            },            {              "type": "null",              "description": "Project identifier associated with this result."            }          ],          "description": "Project identifier associated with this result."        },        "user_id": {          "anyOf": [            {              "type": "string",              "format": "uuid",              "description": "The user id returned by the tool."            },            {              "type": "null",              "description": "The user id returned by the tool."            }          ],          "description": "The user id returned by the tool."        },        "api_key_id": {          "anyOf": [            {              "type": "string",              "format": "uuid",              "description": "The api key id returned by the tool."            },            {              "type": "null",              "description": "The api key id returned by the tool."            }          ],          "description": "The api key id returned by the tool."        }      },      "required": [        "kind",        "project_id",        "user_id",        "api_key_id"      ],      "additionalProperties": false,      "description": "Structured scope details returned by the tool."    },    "monthly_limit_usd": {      "type": "number",      "description": "The monthly AI spend limit, in USD"    },    "monthly_limit_credits": {      "type": "number",      "description": "The same limit in credits, the unit spend is counted in"    },    "status": {      "type": "object",      "properties": {        "used": {          "type": "number",          "description": "The used returned by the tool."        },        "remaining": {          "type": "number",          "description": "The remaining returned by the tool."        },        "resets_at": {          "type": "string",          "description": "The resets at returned by the tool."        }      },      "required": [        "used",        "remaining",        "resets_at"      ],      "additionalProperties": false,      "description": "Lifecycle status for the returned record."    },    "created_at": {      "type": "string",      "description": "Creation timestamp in ISO 8601 format."    },    "updated_at": {      "type": "string",      "description": "Last update timestamp in ISO 8601 format."    }  },  "required": [    "id",    "scope",    "monthly_limit_usd",    "monthly_limit_credits",    "status",    "created_at",    "updated_at"  ],  "additionalProperties": false,  "$schema": "http://json-schema.org/draft-07/schema#",  "description": "Structured result returned by the update_budget tool."}