Act through a fully authorized provider
vault_provider_writeChange provider state through a full-provider or owner-equivalent grant on a registered provider API surface. API Vault pins or validates the destination origin, binds GitHub/Supabase requests to resources authorized by this user, injects that user's OAuth credential server-side, classifies risk, and enforces the owner's financial/security/destructive/communication switches. For google.api.generic, supply the exact HTTPS Google API origin under *.googleapis.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": {
"account_id": "<account_id>",
"surface_id": "<surface_id>",
"method": "<method>",
"path": "<path>"
},
"name": "vault_provider_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | Provider-relative path only; absolute and scheme-relative URLs are rejected. | |
| method | Yes | ||
| origin | No | Required only for dynamic surfaces such as google.api.generic. Use an origin only (for example https://run.googleapis.com), never a path, query, credentials, or fragment. | |
| headers | No | ||
| risk_hint | No | Optional descriptive hint; it cannot lower server-classified risk. | |
| account_id | Yes | ||
| surface_id | Yes | ||
| intent_lease_id | No | Optional active task-scoped Intent Lease. When supplied, it further narrows this provider action and consumes one lease action. |