Store a vendor key
rent_set_byok_credentialStores your own vendor key (BYOK) for e2b and vercel sandboxes or runpod GPU pods, after one read-only call to the vendor checks it. The secret is an argument of this call; it is stored sealed and never returned. fields: e2b {api_key}, vercel {token, team_id, project_id}, runpod {api_key}. The credential id (cred_…) stays valid until you delete it (DELETE /v1/byok/credentials/{id}). An API key with a spend limit cannot store one (403 forbidden): use an uncapped key or a signed-in person.
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": {
"vendor": "<vendor>",
"fields": "<fields>"
},
"name": "rent_set_byok_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| fields | Yes | The vendor's secret fields. | |
| vendor | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| label | Yes | ||
| vendor | Yes | ||
| created_at | Yes | ||
| validated_at | Yes |