Server definition
- Hash
- sha256:98b16d11dc21b89eab13fce71c45408c21d8369905ffeee07aae3c9ecec2c8f7
- What it is
- What a remote MCP server returned when asked what it offers: 35 tools
The blob, as servednamed by its sha256
{
"instructions": "A VPS, server, VM, virtual machine, dev box, cloud machine or container to use? A sandbox: a Linux machine billed by the second that ends at its timeout (timeout_s, default 300 seconds, at most 86400). Start with rent_signup, then, in this same session, over REST at https://api.rent.dev with the key it answers: POST /v1/sandboxes {\"timeout_s\": 3600}, then POST /v1/sandboxes/{id}/exec {\"cmd\": \"…\"}. Over REST, send the key as Authorization: Bearer rent_sk_… and create with Prefer: wait=30; without it the create answers 202 with an Operation. A new account has a zero balance unless a promotion gives it promotional credit, and a create the balance cannot cover answers 402 with topup.x402_url, which an agent pays in USDC, and topup.checkout_url, a pay link for a person. On rent.dev's own machines a sandbox is a Firecracker microVM; a partner's machine declares its own isolation, which may be a container. Tell the person the sandbox id (lse_…), how to run a command in it (POST /v1/sandboxes/{id}/exec, or rent sbx exec <id> -- <command>), when it ends (timeout_at), what it has cost and holds (captured_micros, held_micros), and where its API key is kept. A GPU? A GPU pod on your own RunPod key: RunPod bills that key and no rent.dev balance is used. Start over REST at https://api.rent.dev: POST /v1/byok/credentials {\"vendor\": \"runpod\", …}, then POST /v1/gpu-pods. Prices? The price of one task on rent.dev and at each vendor with published rates, and GPU prices per hour, with no key. Start with rent_quote. Your own VPS, server or VM on rent.dev, to earn? A machine you run, your own or one rented elsewhere, hosts rent.dev sandboxes as a node, for a share of what they bill. Start with rent_supply_guide. A machine to use is a sandbox; a machine you run that should earn is a node. If the request does not say which, ask the person; if you cannot ask, take the sandbox, which costs cents and ends at its timeout, then say that you did and name the other reading. You are connected without an account. Prices (rent_quote), the provider catalog (rent_list_providers), the docs (rent_search_docs), signup (rent_signup) and the provider guide (rent_supply_guide) work now; every other tool needs a rent.dev account. A client with OAuth sign-in opens rent.dev's sign-in page the first time such a tool is called, and a passkey creates the account. Any other caller runs rent_signup, which creates the account and answers an API key; the user adds it to this server's configuration as that same Authorization header, or use it with the REST API.",
"tools": [
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Starts a GPU pod on RunPod with your own RunPod key (store it with rent_set_byok_credential, vendor runpod). RunPod bills your key by the hour until rent_terminate_gpu_pod; no rent.dev balance is used. The pod id (`lse_…`) lives until it is terminated. Arguments not listed are refused by name. When RunPod is out of that GPU type it answers 503 `no_capacity` with `retry_after` and the pod is listed failed; retry after that, or pick another RunPod GPU type from rent_quote, which may be in stock.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cloud_type": {
"description": "Default SECURE.",
"enum": [
"SECURE",
"COMMUNITY"
],
"type": "string"
},
"container_disk_gb": {
"description": "Default 20.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"credential_id": {
"description": "RunPod credential (`cred_…`); default the account's only one.",
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"gpu_count": {
"description": "Default 1.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"gpu_type": {
"description": "RunPod GPU type id, e.g. NVIDIA GeForce RTX 4090.",
"minLength": 1,
"type": "string"
},
"image": {
"description": "Container image.",
"minLength": 1,
"type": "string"
},
"ports": {
"description": "e.g. [\"8888/http\", \"22/tcp\"].",
"items": {
"type": "string"
},
"type": "array"
},
"volume_gb": {
"description": "Default 0.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"gpu_type",
"image"
],
"type": "object"
},
"name": "rent_create_gpu_pod",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"billed_by": {
"const": "vendor",
"type": "string"
},
"cloud_type": {
"enum": [
"SECURE",
"COMMUNITY"
],
"type": "string"
},
"container_disk_gb": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cost_per_hour_usd": {
"anyOf": [
{
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"credential_id": {
"pattern": "^cred_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"gpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"gpu_type": {
"type": "string"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"image": {
"type": "string"
},
"name": {
"type": "string"
},
"pod_id": {
"type": [
"string",
"null"
]
},
"ports": {
"items": {
"type": "string"
},
"type": "array"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"volume_gb": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"pod_id",
"account_id",
"credential_id",
"name",
"state",
"gpu_type",
"gpu_count",
"image",
"cloud_type",
"container_disk_gb",
"volume_gb",
"ports",
"cost_per_hour_usd",
"billed_by",
"created_at",
"started_at",
"ended_at"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Starts a Linux sandbox: this is how to get a VPS, server or VM to use on rent.dev. It holds its cost from your balance and is charged by the second while it runs. On rent.dev's own machines it is a Firecracker microVM; a partner's machine declares its own isolation, which may be a container. A sandbox ends at its timeout: `timeout_s`, default 300 seconds, at most 86400. At the timeout it stops, or pauses with auto_pause; rent_extend_sandbox moves the timeout and rent_terminate_sandbox ends it sooner. By default (`active`) it may run on a verified partner's machine; `routing.partners: none` keeps it on rent.dev's own machines and your own vendor keys. The operator of a partner machine can read what runs on it. Waits up to wait_s for placement and answers the sandbox; past that it answers an operation id (`op_…`) to poll with rent_get_operation, whose response is the sandbox. A short balance answers 402 `insufficient_balance` with a card pay link (valid 24 hours) and an x402 top-up URL. Arguments not listed here go to the REST route as they are, which refuses them by name.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"allow_internet_access": {
"type": "boolean"
},
"auto_pause": {
"description": "Pause instead of stopping at the timeout.",
"type": "boolean"
},
"auto_resume": {
"description": "Resume a paused sandbox when traffic arrives.",
"type": "boolean"
},
"env_vars": {
"additionalProperties": {
"type": "string"
},
"description": "Environment variables of every command in the sandbox.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Your labels. Keys starting `rentdev_` are reserved and dropped.",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"network": {
"additionalProperties": {},
"description": "Egress allow and deny lists (CIDR, IP or `*.domain`), and port-URL access.",
"properties": {
"allow_out": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"allow_public_traffic": {
"type": "boolean"
},
"deny_out": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"profile": {
"description": "Expected duty, used for placement when there is no history.",
"enum": [
"agent-loop",
"interactive",
"workspace"
],
"type": "string"
},
"routing": {
"additionalProperties": {},
"description": "Endpoint ids to consider besides own supply (a BYOK endpoint needs your stored credential), to avoid, a cold-start bound, and the partner nodes to consider. By default (`active`) a sandbox may run on a verified partner's machine; `partners: none` keeps it on rent.dev's own machines and your own vendor keys. The operator of a partner machine can read what runs on it. `all` adds nodes on probation.",
"properties": {
"allow": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"deny": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"max_ready_ms": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"partners": {
"enum": [
"none",
"active",
"all"
],
"type": "string"
}
},
"type": "object"
},
"template": {
"description": "Template alias: your own or the public set (`base`, `code-interpreter-v1` for rent_run_code). Default `base`.",
"minLength": 1,
"type": "string"
},
"timeout_s": {
"description": "Seconds until the sandbox stops (or pauses with auto_pause). Default 300, at most 86400; rent_extend_sandbox moves it.",
"maximum": 86400,
"minimum": 1,
"type": "integer"
},
"wait_s": {
"default": 30,
"description": "Seconds to wait for placement before answering with an operation instead. Default 30; 0 answers the operation at once.",
"maximum": 999,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"name": "rent_create_sandbox",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"done": {
"description": "True: `sandbox` is placed. False: poll `operation_id` with rent_get_operation.",
"type": "boolean"
},
"operation": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"done": {
"type": "boolean"
},
"error": {
"additionalProperties": false,
"properties": {
"balance_required_micros": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"code": {
"enum": [
"insufficient_balance",
"account_frozen",
"key_limit_reached",
"payment_required",
"payment_failed",
"unsupported_parameter",
"invalid_request",
"unauthenticated",
"forbidden",
"not_found",
"method_not_allowed",
"conflict",
"idempotency_in_flight",
"gone",
"idempotency_key_reused",
"rate_limited",
"signup_limit",
"internal_error",
"not_implemented",
"vendor_error",
"no_capacity",
"vendor_timeout",
"claim_invalid",
"claim_proof_invalid",
"checks_failed",
"node_exists",
"supply_link_unavailable",
"linking_limit",
"node_revoked",
"node_suspended",
"node_replay",
"probe_in_progress",
"payout_proof_required",
"agent_upgrade_required"
],
"type": "string"
},
"detail": {
"type": "string"
},
"docs_url": {
"format": "uri",
"type": "string"
},
"errors": {
"items": {
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"path",
"message"
],
"type": "object"
},
"type": "array"
},
"hold_id": {
"pattern": "^hold_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"instance": {
"type": "string"
},
"request_id": {
"type": "string"
},
"retry_after": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"status": {
"maximum": 599,
"minimum": 100,
"type": "integer"
},
"title": {
"type": "string"
},
"topup": {
"additionalProperties": false,
"properties": {
"checkout_url": {
"format": "uri",
"type": "string"
},
"x402_url": {
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"title",
"status",
"code"
],
"type": "object"
},
"metadata": {
"additionalProperties": false,
"properties": {
"create_time": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"kind": {
"enum": [
"create_sandbox",
"resume_sandbox",
"create_gpu_pod",
"settle_x402"
],
"type": "string"
},
"target": {
"type": [
"string",
"null"
]
},
"update_time": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
}
},
"required": [
"kind",
"target",
"create_time",
"update_time"
],
"type": "object"
},
"name": {
"pattern": "^operations\\/op_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"response": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"auto_pause": {
"type": "boolean"
},
"auto_resume": {
"type": "boolean"
},
"billed_by": {
"enum": [
"rent.dev",
"vendor"
],
"type": "string"
},
"captured_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"domain": {
"type": [
"string",
"null"
]
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"endpoint_id": {
"type": "string"
},
"held_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"memory_mb": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"region": {
"type": "string"
},
"sandbox_id": {
"type": [
"string",
"null"
]
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"supplier": {
"enum": [
"own",
"byok",
"partner"
],
"type": "string"
},
"template": {
"type": "string"
},
"timeout_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"vercel",
"runpod",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"sandbox_id",
"account_id",
"state",
"template",
"cpu_count",
"memory_mb",
"supplier",
"wire",
"endpoint_id",
"region",
"billed_by",
"metadata",
"auto_pause",
"auto_resume",
"created_at",
"started_at",
"timeout_at",
"ended_at",
"domain",
"captured_micros",
"held_micros"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"billed_by": {
"const": "vendor",
"type": "string"
},
"cloud_type": {
"enum": [
"SECURE",
"COMMUNITY"
],
"type": "string"
},
"container_disk_gb": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cost_per_hour_usd": {
"anyOf": [
{
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"credential_id": {
"pattern": "^cred_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"gpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"gpu_type": {
"type": "string"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"image": {
"type": "string"
},
"name": {
"type": "string"
},
"pod_id": {
"type": [
"string",
"null"
]
},
"ports": {
"items": {
"type": "string"
},
"type": "array"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"volume_gb": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"pod_id",
"account_id",
"credential_id",
"name",
"state",
"gpu_type",
"gpu_count",
"image",
"cloud_type",
"container_disk_gb",
"volume_gb",
"ports",
"cost_per_hour_usd",
"billed_by",
"created_at",
"started_at",
"ended_at"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"api_key": {
"additionalProperties": false,
"properties": {
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"pattern": "^key_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"last_used_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": [
"string",
"null"
]
},
"prefix": {
"maxLength": 12,
"minLength": 12,
"type": "string"
},
"revoked_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"secret": {
"pattern": "^rent_sk_[0-9a-f]{64}$",
"type": "string"
},
"spend_limit_micros": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"spent_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"prefix",
"name",
"created_at",
"last_used_at",
"revoked_at",
"spend_limit_micros",
"spent_micros",
"secret"
],
"type": "object"
},
"network": {
"type": "string"
},
"payer": {
"type": "string"
},
"topup": {
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"credit_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"failure_reason": {
"type": [
"string",
"null"
]
},
"fee_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^top_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"kind": {
"enum": [
"checkout",
"auto_recharge",
"x402"
],
"type": "string"
},
"rail": {
"enum": [
"stripe",
"x402"
],
"type": "string"
},
"ref": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"pending",
"succeeded",
"failed"
],
"type": "string"
},
"tax_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"account_id",
"rail",
"kind",
"status",
"credit_micros",
"fee_micros",
"tax_micros",
"ref",
"failure_reason",
"created_at",
"completed_at"
],
"type": "object"
},
"transaction": {
"type": "string"
}
},
"required": [
"account_id",
"topup",
"network",
"payer",
"transaction"
],
"type": "object"
}
]
}
},
"required": [
"name",
"metadata",
"done"
],
"type": "object"
},
{
"type": "null"
}
]
},
"operation_id": {
"description": "`op_…`, when placement goes on after the answer. It stays readable once done.",
"type": [
"string",
"null"
]
},
"sandbox": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"auto_pause": {
"type": "boolean"
},
"auto_resume": {
"type": "boolean"
},
"billed_by": {
"enum": [
"rent.dev",
"vendor"
],
"type": "string"
},
"captured_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"domain": {
"type": [
"string",
"null"
]
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"endpoint_id": {
"type": "string"
},
"held_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"memory_mb": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"region": {
"type": "string"
},
"sandbox_id": {
"type": [
"string",
"null"
]
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"supplier": {
"enum": [
"own",
"byok",
"partner"
],
"type": "string"
},
"template": {
"type": "string"
},
"timeout_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"vercel",
"runpod",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"sandbox_id",
"account_id",
"state",
"template",
"cpu_count",
"memory_mb",
"supplier",
"wire",
"endpoint_id",
"region",
"billed_by",
"metadata",
"auto_pause",
"auto_resume",
"created_at",
"started_at",
"timeout_at",
"ended_at",
"domain",
"captured_micros",
"held_micros"
],
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"done",
"sandbox",
"operation_id",
"operation"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Runs a shell command (`/bin/bash -l -c`) in a running sandbox and answers when it exits: stdout, stderr, exit_code (null when killed by the timeout), timed_out. timeout_s defaults to 50, so the answer comes back inside common client tool timeouts. For work that runs longer (servers, builds, training), start it with rent_start_process and read its output with rent_get_process_output. Arguments not listed here go to the REST route as they are, which refuses them by name.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cmd": {
"description": "Shell command.",
"minLength": 1,
"type": "string"
},
"cwd": {
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"sandbox_id": {
"description": "Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.",
"minLength": 1,
"type": "string"
},
"stdin": {
"description": "Written to stdin, then closed.",
"type": "string"
},
"timeout_s": {
"default": 50,
"description": "Seconds before the command is killed. Default 50.",
"maximum": 3600,
"minimum": 1,
"type": "integer"
},
"user": {
"description": "Default `user`.",
"type": "string"
}
},
"required": [
"sandbox_id",
"cmd"
],
"type": "object"
},
"name": "rent_exec",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"duration_ms": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"exit_code": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
{
"type": "null"
}
]
},
"stderr": {
"type": "string"
},
"stdout": {
"type": "string"
},
"timed_out": {
"type": "boolean"
}
},
"required": [
"stdout",
"stderr",
"exit_code",
"timed_out",
"duration_ms"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Sets a running sandbox to stop timeout_s seconds from now (at most 86400), holding the added cost first on the key that started it; a short balance answers 402 with top-up links. An API key with a spend limit cannot extend a sandbox another key started (403 forbidden).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sandbox_id": {
"description": "Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.",
"minLength": 1,
"type": "string"
},
"timeout_s": {
"maximum": 86400,
"minimum": 1,
"type": "integer"
}
},
"required": [
"sandbox_id",
"timeout_s"
],
"type": "object"
},
"name": "rent_extend_sandbox",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"auto_pause": {
"type": "boolean"
},
"auto_resume": {
"type": "boolean"
},
"billed_by": {
"enum": [
"rent.dev",
"vendor"
],
"type": "string"
},
"captured_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"domain": {
"type": [
"string",
"null"
]
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"endpoint_id": {
"type": "string"
},
"held_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"memory_mb": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"region": {
"type": "string"
},
"sandbox_id": {
"type": [
"string",
"null"
]
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"supplier": {
"enum": [
"own",
"byok",
"partner"
],
"type": "string"
},
"template": {
"type": "string"
},
"timeout_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"vercel",
"runpod",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"sandbox_id",
"account_id",
"state",
"template",
"cpu_count",
"memory_mb",
"supplier",
"wire",
"endpoint_id",
"region",
"billed_by",
"metadata",
"auto_pause",
"auto_resume",
"created_at",
"started_at",
"timeout_at",
"ended_at",
"domain",
"captured_micros",
"held_micros"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Your prepaid balance in micro-USD (1 USD = 1,000,000): total, held by running sandboxes, and available, the part of total that is promotional credit (it pays only for sandboxes on rent.dev's own machines), and whether the account is frozen.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "rent_get_balance",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"available_micros": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"currency": {
"const": "usd",
"type": "string"
},
"frozen": {
"type": "boolean"
},
"held_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"promo_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total_micros": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"total_micros",
"held_micros",
"available_micros",
"promo_micros",
"frozen",
"currency"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. A long-running operation by id (`op_…` or `operations/op_…`), as tools answer them for work that outlasts a call (sandbox placement, x402 settlement). Poll about every 2 s until done; then exactly one of `response` (the finished resource) or `error` (a Problem). The id stays readable after it is done.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"operation_id": {
"minLength": 1,
"type": "string"
}
},
"required": [
"operation_id"
],
"type": "object"
},
"name": "rent_get_operation",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"done": {
"type": "boolean"
},
"error": {
"additionalProperties": false,
"properties": {
"balance_required_micros": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"code": {
"enum": [
"insufficient_balance",
"account_frozen",
"key_limit_reached",
"payment_required",
"payment_failed",
"unsupported_parameter",
"invalid_request",
"unauthenticated",
"forbidden",
"not_found",
"method_not_allowed",
"conflict",
"idempotency_in_flight",
"gone",
"idempotency_key_reused",
"rate_limited",
"signup_limit",
"internal_error",
"not_implemented",
"vendor_error",
"no_capacity",
"vendor_timeout",
"claim_invalid",
"claim_proof_invalid",
"checks_failed",
"node_exists",
"supply_link_unavailable",
"linking_limit",
"node_revoked",
"node_suspended",
"node_replay",
"probe_in_progress",
"payout_proof_required",
"agent_upgrade_required"
],
"type": "string"
},
"detail": {
"type": "string"
},
"docs_url": {
"format": "uri",
"type": "string"
},
"errors": {
"items": {
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"path",
"message"
],
"type": "object"
},
"type": "array"
},
"hold_id": {
"pattern": "^hold_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"instance": {
"type": "string"
},
"request_id": {
"type": "string"
},
"retry_after": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"status": {
"maximum": 599,
"minimum": 100,
"type": "integer"
},
"title": {
"type": "string"
},
"topup": {
"additionalProperties": false,
"properties": {
"checkout_url": {
"format": "uri",
"type": "string"
},
"x402_url": {
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"title",
"status",
"code"
],
"type": "object"
},
"metadata": {
"additionalProperties": false,
"properties": {
"create_time": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"kind": {
"enum": [
"create_sandbox",
"resume_sandbox",
"create_gpu_pod",
"settle_x402"
],
"type": "string"
},
"target": {
"type": [
"string",
"null"
]
},
"update_time": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
}
},
"required": [
"kind",
"target",
"create_time",
"update_time"
],
"type": "object"
},
"name": {
"pattern": "^operations\\/op_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"response": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"auto_pause": {
"type": "boolean"
},
"auto_resume": {
"type": "boolean"
},
"billed_by": {
"enum": [
"rent.dev",
"vendor"
],
"type": "string"
},
"captured_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"domain": {
"type": [
"string",
"null"
]
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"endpoint_id": {
"type": "string"
},
"held_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"memory_mb": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"region": {
"type": "string"
},
"sandbox_id": {
"type": [
"string",
"null"
]
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"supplier": {
"enum": [
"own",
"byok",
"partner"
],
"type": "string"
},
"template": {
"type": "string"
},
"timeout_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"vercel",
"runpod",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"sandbox_id",
"account_id",
"state",
"template",
"cpu_count",
"memory_mb",
"supplier",
"wire",
"endpoint_id",
"region",
"billed_by",
"metadata",
"auto_pause",
"auto_resume",
"created_at",
"started_at",
"timeout_at",
"ended_at",
"domain",
"captured_micros",
"held_micros"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"billed_by": {
"const": "vendor",
"type": "string"
},
"cloud_type": {
"enum": [
"SECURE",
"COMMUNITY"
],
"type": "string"
},
"container_disk_gb": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cost_per_hour_usd": {
"anyOf": [
{
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"credential_id": {
"pattern": "^cred_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"gpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"gpu_type": {
"type": "string"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"image": {
"type": "string"
},
"name": {
"type": "string"
},
"pod_id": {
"type": [
"string",
"null"
]
},
"ports": {
"items": {
"type": "string"
},
"type": "array"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"volume_gb": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"pod_id",
"account_id",
"credential_id",
"name",
"state",
"gpu_type",
"gpu_count",
"image",
"cloud_type",
"container_disk_gb",
"volume_gb",
"ports",
"cost_per_hour_usd",
"billed_by",
"created_at",
"started_at",
"ended_at"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"api_key": {
"additionalProperties": false,
"properties": {
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"pattern": "^key_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"last_used_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": [
"string",
"null"
]
},
"prefix": {
"maxLength": 12,
"minLength": 12,
"type": "string"
},
"revoked_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"secret": {
"pattern": "^rent_sk_[0-9a-f]{64}$",
"type": "string"
},
"spend_limit_micros": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"spent_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"prefix",
"name",
"created_at",
"last_used_at",
"revoked_at",
"spend_limit_micros",
"spent_micros",
"secret"
],
"type": "object"
},
"network": {
"type": "string"
},
"payer": {
"type": "string"
},
"topup": {
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"credit_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"failure_reason": {
"type": [
"string",
"null"
]
},
"fee_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^top_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"kind": {
"enum": [
"checkout",
"auto_recharge",
"x402"
],
"type": "string"
},
"rail": {
"enum": [
"stripe",
"x402"
],
"type": "string"
},
"ref": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"pending",
"succeeded",
"failed"
],
"type": "string"
},
"tax_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"account_id",
"rail",
"kind",
"status",
"credit_micros",
"fee_micros",
"tax_micros",
"ref",
"failure_reason",
"created_at",
"completed_at"
],
"type": "object"
},
"transaction": {
"type": "string"
}
},
"required": [
"account_id",
"topup",
"network",
"payer",
"transaction"
],
"type": "object"
}
]
}
},
"required": [
"name",
"metadata",
"done"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. The public HTTPS URL of a port in the sandbox (`https://{port}-{sandbox}.{domain}`). It serves while the sandbox runs and something listens on the port.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"port": {
"maximum": 65535,
"minimum": 1,
"type": "integer"
},
"sandbox_id": {
"description": "Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.",
"minLength": 1,
"type": "string"
}
},
"required": [
"sandbox_id",
"port"
],
"type": "object"
},
"name": "rent_get_port_url",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"port": {
"maximum": 65535,
"minimum": 1,
"type": "integer"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"port",
"url"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Output of a background process after a cursor, whether it still runs, and its exit code. Omit cursor to read from the start; pass the answer's cursor back unchanged to read only newer output. Cursors and process ids are valid while the sandbox runs.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"minLength": 1,
"type": "string"
},
"process_id": {
"description": "From rent_start_process.",
"minLength": 1,
"type": "string"
},
"sandbox_id": {
"description": "Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.",
"minLength": 1,
"type": "string"
},
"wait_ms": {
"description": "Wait up to this long for new output. Default 0.",
"maximum": 30000,
"minimum": 0,
"type": "integer"
}
},
"required": [
"sandbox_id",
"process_id"
],
"type": "object"
},
"name": "rent_get_process_output",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"chunks": {
"items": {
"additionalProperties": false,
"properties": {
"data": {
"type": "string"
},
"stream": {
"enum": [
"stdout",
"stderr"
],
"type": "string"
}
},
"required": [
"stream",
"data"
],
"type": "object"
},
"type": "array"
},
"cursor": {
"type": "string"
},
"exit_code": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
{
"type": "null"
}
]
},
"process_id": {
"type": "string"
},
"running": {
"type": "boolean"
}
},
"required": [
"process_id",
"chunks",
"cursor",
"running",
"exit_code"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. One sandbox by id: state (requested, placing, running, paused, settling, terminated, failed), template, size, timeout_at, port-URL domain, and what it has been charged and holds.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sandbox_id": {
"description": "Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.",
"minLength": 1,
"type": "string"
}
},
"required": [
"sandbox_id"
],
"type": "object"
},
"name": "rent_get_sandbox",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"auto_pause": {
"type": "boolean"
},
"auto_resume": {
"type": "boolean"
},
"billed_by": {
"enum": [
"rent.dev",
"vendor"
],
"type": "string"
},
"captured_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"domain": {
"type": [
"string",
"null"
]
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"endpoint_id": {
"type": "string"
},
"held_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"memory_mb": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"region": {
"type": "string"
},
"sandbox_id": {
"type": [
"string",
"null"
]
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"supplier": {
"enum": [
"own",
"byok",
"partner"
],
"type": "string"
},
"template": {
"type": "string"
},
"timeout_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"vercel",
"runpod",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"sandbox_id",
"account_id",
"state",
"template",
"cpu_count",
"memory_mb",
"supplier",
"wire",
"endpoint_id",
"region",
"billed_by",
"metadata",
"auto_pause",
"auto_resume",
"created_at",
"started_at",
"timeout_at",
"ended_at",
"domain",
"captured_micros",
"held_micros"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Usage over a period (default the last 30 days): what rent.dev billed for its own sandboxes, beside showback of BYOK usage your vendors bill you for.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"from": {
"description": "RFC 3339 start. Default 30 days before `to`.",
"type": "string"
},
"to": {
"description": "RFC 3339 end. Default now.",
"type": "string"
}
},
"type": "object"
},
"name": "rent_get_usage",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"byok": {
"items": {
"additionalProperties": false,
"properties": {
"billed_by": {
"const": "vendor",
"type": "string"
},
"credential_id": {
"pattern": "^cred_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"estimated_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"lease_id": {
"anyOf": [
{
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
{
"type": "null"
}
]
},
"period_end": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"period_start": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"resource_id": {
"type": "string"
},
"source": {
"enum": [
"estimate",
"vendor_billing"
],
"type": "string"
},
"vendor": {
"enum": [
"e2b",
"vercel",
"runpod"
],
"type": "string"
}
},
"required": [
"vendor",
"credential_id",
"lease_id",
"resource_id",
"period_start",
"period_end",
"estimated_micros",
"source",
"billed_by"
],
"type": "object"
},
"type": "array"
},
"byok_fee_bps": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"from": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"own": {
"items": {
"additionalProperties": false,
"properties": {
"active_vcpu_seconds": {
"minimum": 0,
"type": "number"
},
"billed_by": {
"const": "rent.dev",
"type": "string"
},
"cost_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"kind": {
"enum": [
"sandbox",
"build",
"gpu_pod"
],
"type": "string"
},
"lease_id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"provisioned_gib_seconds": {
"minimum": 0,
"type": "number"
},
"provisioned_vcpu_seconds": {
"minimum": 0,
"type": "number"
},
"sandbox_id": {
"type": [
"string",
"null"
]
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"template": {
"type": [
"string",
"null"
]
}
},
"required": [
"lease_id",
"kind",
"sandbox_id",
"template",
"started_at",
"ended_at",
"active_vcpu_seconds",
"provisioned_vcpu_seconds",
"provisioned_gib_seconds",
"cost_micros",
"billed_by"
],
"type": "object"
},
"type": "array"
},
"own_total_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"to": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
}
},
"required": [
"from",
"to",
"own_total_micros",
"own",
"byok",
"byok_fee_bps"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Your GPU pods, newest first, every state. `next_cursor` is opaque and only for the next call of this tool.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"minLength": 1,
"type": "string"
},
"limit": {
"description": "Page size, 1-200. Default 50.",
"maximum": 200,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "rent_list_gpu_pods",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"data": {
"items": {
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"billed_by": {
"const": "vendor",
"type": "string"
},
"cloud_type": {
"enum": [
"SECURE",
"COMMUNITY"
],
"type": "string"
},
"container_disk_gb": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cost_per_hour_usd": {
"anyOf": [
{
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"credential_id": {
"pattern": "^cred_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"gpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"gpu_type": {
"type": "string"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"image": {
"type": "string"
},
"name": {
"type": "string"
},
"pod_id": {
"type": [
"string",
"null"
]
},
"ports": {
"items": {
"type": "string"
},
"type": "array"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"volume_gb": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"pod_id",
"account_id",
"credential_id",
"name",
"state",
"gpu_type",
"gpu_count",
"image",
"cloud_type",
"container_disk_gb",
"volume_gb",
"ports",
"cost_per_hour_usd",
"billed_by",
"created_at",
"started_at",
"ended_at"
],
"type": "object"
},
"type": "array"
},
"next_cursor": {
"type": [
"string",
"null"
]
}
},
"required": [
"data",
"next_cursor"
],
"type": "object"
}
},
{
"description": "Lists rent.dev's provider catalog as compact summaries: each provider's capabilities (offerings, pricing types, interfaces, auth and product capabilities), display-only `summary_verdict`, `agentic` flag, the provenance of its cheapest matched offering and that offering's price row. Read-only; needs no account. A listed provider may be unpriced: its terms may permit display but not comparison (`clause` names that denial and its prices are withheld), no price row may match the filters, or its rows may carry no hourly figure (a GPU row then gives `unpriced_reason`: monthly_rate, no_time_unit or unknown_gpu_count; a per-unit row has `usd` and `unit` but no hourly figure). `include_offerings` carries every matching offering, not just the cheapest. `use` asserts a rights use on providers and figures (default display). `limit` caps providers only. Every offer carries `covers`, `gpu.count`, `region_id` and `comparison_group`: the group names the purchasable unit (GPU model, count, market, pricing type, canonical region and commitment), so two offers are price-comparable exactly when their groups match. `region` accepts the vendor's label or the canonical id; `gpu_count`, `covers` and `figure` narrow the grain.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"agentic_only": {
"description": "True keeps only providers with a product passing the three-test agentic conjunction.",
"type": "boolean"
},
"architecture": {
"description": "Keep CPU offerings whose architecture the vendor states as this value.",
"enum": [
"x86_64",
"arm64"
],
"type": "string"
},
"capability": {
"description": "A capability the provider or one of its products lists, e.g. `gpu`, `serverless`, `sdk`, `mcp`, `api_key`.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"comparison_group": {
"description": "Keep offerings in exactly this comparison group; `cheapest_offering.comparison_group` names it, and the group's other offers are its comparable peers.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"covers": {
"description": "Keep offerings whose figure covers this unit: `gpu` one GPU, `node`/`instance` a whole node or instance, `gpu_line_item` a fractional GPU line.",
"enum": [
"gpu",
"node",
"instance",
"gpu_line_item"
],
"type": "string"
},
"cpu": {
"description": "The CPU capacity class (`shared`, `dedicated`) or the vendor's product label for a CPU offering (e.g. `macos`), matched without regard to case.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"figure": {
"description": "Keep offerings whose figure was produced this way (`listed`, `floor`, …).",
"enum": [
"listed",
"effective_dated",
"weighted_average",
"median",
"floor",
"advertised_from"
],
"type": "string"
},
"gpu": {
"description": "Canonical GPU model id (`h100-sxm-80gb`) or the vendor's own label.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"gpu_count": {
"description": "Keep GPU offerings whose `gpu.count` (GPUs per priced unit) is exactly this many; `gpu_count=1` asks for single-GPU offers only.",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"include_offerings": {
"description": "True carries every matching offering of the listed providers, not just the cheapest.",
"type": "boolean"
},
"limit": {
"description": "Most providers to list, 1-200. Default 50.",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"max_usd_per_hour": {
"description": "Keep offerings whose hourly figure (`usd_per_gpu_hour` on a GPU row, else `usd_per_hour`) is at most this many USD.",
"minimum": 0,
"type": "number"
},
"max_usd_per_vcpu_hour": {
"description": "Keep CPU offerings whose `usd_per_vcpu_hour` is at most this many USD.",
"minimum": 0,
"type": "number"
},
"provider": {
"description": "One provider id, e.g. `runpod`.",
"minLength": 1,
"pattern": "^[a-z0-9][a-z0-9-]*$",
"type": "string"
},
"region": {
"description": "A region label or a canonical region id (`us-east-1`), matched without regard to case; either spelling finds every offer in that place.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"use": {
"description": "The use the answer asserts: only providers permitting it are listed and only figures whose `publish_mask` allows it are shown. Default `display`.",
"enum": [
"fetch_automated",
"store",
"display",
"compare",
"redistribute",
"derive"
],
"type": "string"
}
},
"type": "object"
},
"name": "rent_list_providers",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"attribution": {
"description": "Obligations owed beside the listed providers' figures; show them with the prices.",
"items": {
"additionalProperties": false,
"properties": {
"document": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"license": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"obligation": {
"minLength": 1,
"type": "string"
},
"provider_id": {
"minLength": 1,
"type": "string"
},
"use": {
"enum": [
"fetch_automated",
"store",
"display",
"compare",
"redistribute",
"derive"
],
"type": "string"
}
},
"required": [
"provider_id",
"use",
"document",
"obligation"
],
"type": "object"
},
"type": "array"
},
"catalog_version": {
"description": "SHA-256 of the committed catalog artifact.",
"type": "string"
},
"generated_at": {
"description": "UTC timestamp of the catalog fold.",
"type": "string"
},
"offerings": {
"description": "Every matching offering of the listed providers, when `include_offerings` is true.",
"items": {
"additionalProperties": false,
"properties": {
"commitment_months": {
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"comparison_group": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"component": {
"enum": [
"cpu_active",
"cpu_provisioned",
"memory",
"disk",
"storage",
"gpu",
"creation",
"egress",
"other",
"input_tokens",
"output_tokens",
"cached_input_tokens",
"cached_output_tokens"
],
"type": "string"
},
"covers": {
"enum": [
"gpu",
"node",
"instance",
"gpu_line_item"
],
"type": "string"
},
"cpu": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"architecture": {
"enum": [
"x86_64",
"arm64"
],
"type": "string"
},
"class": {
"anyOf": [
{
"enum": [
"shared",
"dedicated"
],
"type": "string"
},
{
"type": "null"
}
]
},
"count": {
"exclusiveMinimum": 0,
"type": "number"
},
"memory_mib": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"architecture",
"count",
"class"
],
"type": "object"
},
{
"type": "null"
}
]
},
"effective_at": {
"minLength": 1,
"type": "string"
},
"feed": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"figure": {
"enum": [
"listed",
"effective_dated",
"weighted_average",
"median",
"floor",
"advertised_from"
],
"type": "string"
},
"free_quantity": {
"exclusiveMinimum": 0,
"type": "number"
},
"gpu": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"exclusiveMinimum": 0,
"type": "number"
},
"memory_gb": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
]
},
"model": {
"minLength": 1,
"type": "string"
},
"name": {
"minLength": 1,
"type": "string"
},
"tier": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"type": {
"minLength": 1,
"type": "string"
}
},
"required": [
"type",
"model",
"name",
"memory_gb",
"tier",
"count"
],
"type": "object"
},
{
"type": "null"
}
]
},
"last_changed_at": {
"type": "string"
},
"listed_since": {
"minLength": 1,
"type": "string"
},
"listing_count": {
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"listing_max_usd": {
"type": "string"
},
"listing_median_usd": {
"type": "string"
},
"market": {
"minLength": 1,
"type": "string"
},
"memory_per_vcpu": {
"exclusiveMinimum": 0,
"type": "number"
},
"min_quantity": {
"exclusiveMinimum": 0,
"type": "number"
},
"note": {
"minLength": 1,
"type": "string"
},
"per_quantity": {
"exclusiveMinimum": 0,
"type": "number"
},
"pricing_type": {
"enum": [
"on_demand",
"spot",
"reserved",
"serverless"
],
"type": "string"
},
"product": {
"minLength": 1,
"type": "string"
},
"provenance": {
"enum": [
"first_party",
"third_party"
],
"type": "string"
},
"provider_id": {
"minLength": 1,
"type": "string"
},
"publish_mask": {
"additionalProperties": false,
"properties": {
"compare": {
"type": "boolean"
},
"derive": {
"type": "boolean"
},
"display": {
"type": "boolean"
},
"fetch_automated": {
"type": "boolean"
},
"redistribute": {
"type": "boolean"
},
"store": {
"type": "boolean"
}
},
"required": [
"fetch_automated",
"store",
"display",
"compare",
"redistribute",
"derive"
],
"type": "object"
},
"quantity_unit": {
"minLength": 1,
"type": "string"
},
"read_at": {
"type": "string"
},
"region": {
"minLength": 1,
"type": "string"
},
"region_id": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"sku": {
"minLength": 1,
"type": "string"
},
"source_url": {
"format": "uri",
"type": "string"
},
"third_party": {
"type": "boolean"
},
"time_increment_s": {
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"time_unit": {
"anyOf": [
{
"enum": [
"second",
"minute",
"hour",
"month"
],
"type": "string"
},
{
"type": "null"
}
]
},
"unit": {
"minLength": 1,
"type": "string"
},
"unpriced_reason": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"usd": {
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
"usd_per_gpu_hour": {
"type": [
"string",
"null"
]
},
"usd_per_hour": {
"type": [
"string",
"null"
]
},
"usd_per_vcpu_hour": {
"type": [
"string",
"null"
]
},
"variant": {
"minLength": 1,
"type": "string"
},
"vcpu_per_unit": {
"exclusiveMinimum": 0,
"type": "number"
},
"vcpu_unpriced_reason": {
"anyOf": [
{
"enum": [
"monthly_rate",
"no_time_unit",
"unknown_vcpu_count"
],
"type": "string"
},
{
"type": "null"
}
]
},
"via": {
"minLength": 1,
"type": "string"
},
"via_provider": {
"minLength": 1,
"type": "string"
}
},
"required": [
"provider_id",
"product",
"sku",
"component",
"figure",
"pricing_type",
"provenance",
"usd",
"per_quantity",
"quantity_unit",
"time_unit",
"unit",
"usd_per_hour",
"usd_per_gpu_hour",
"usd_per_vcpu_hour",
"unpriced_reason",
"vcpu_unpriced_reason",
"gpu",
"cpu",
"publish_mask",
"source_url",
"read_at",
"last_changed_at",
"third_party",
"feed",
"region_id",
"comparison_group"
],
"type": "object"
},
"type": "array"
},
"providers": {
"items": {
"additionalProperties": false,
"properties": {
"agentic": {
"type": "boolean"
},
"capabilities": {
"additionalProperties": false,
"properties": {
"auth": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"interfaces": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"offerings": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"pricing_types": {
"items": {
"enum": [
"on_demand",
"spot",
"reserved",
"serverless"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"offerings",
"pricing_types",
"interfaces",
"auth"
],
"type": "object"
},
"cheapest_offering": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"comparison_group": {
"description": "Stable id of the comparable unit: GPU model, GPU count, market, pricing_type, canonical region and commitment. Two offers share a group exactly when their prices are comparable; null on a row that prices no GPU.",
"type": [
"string",
"null"
]
},
"covers": {
"description": "What the figure covers: `gpu` one GPU, `node`/`instance` a whole node or instance, `gpu_line_item` a fractional GPU line.",
"enum": [
"gpu",
"node",
"instance",
"gpu_line_item"
],
"type": "string"
},
"cpu": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"architecture": {
"enum": [
"x86_64",
"arm64"
],
"type": "string"
},
"class": {
"anyOf": [
{
"enum": [
"shared",
"dedicated"
],
"type": "string"
},
{
"type": "null"
}
]
},
"count": {
"exclusiveMinimum": 0,
"type": "number"
},
"memory_mib": {
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"architecture",
"count",
"class"
],
"type": "object"
},
{
"type": "null"
}
]
},
"gpu": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"count": {
"exclusiveMinimum": 0,
"type": "number"
},
"memory_gb": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
]
},
"model": {
"minLength": 1,
"type": "string"
},
"name": {
"minLength": 1,
"type": "string"
},
"tier": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"type": {
"minLength": 1,
"type": "string"
}
},
"required": [
"type",
"model",
"name",
"memory_gb",
"tier",
"count"
],
"type": "object"
},
{
"type": "null"
}
]
},
"per_quantity": {
"type": "number"
},
"pricing_type": {
"enum": [
"on_demand",
"spot",
"reserved",
"serverless"
],
"type": "string"
},
"product": {
"type": "string"
},
"provenance": {
"enum": [
"first_party",
"third_party"
],
"type": "string"
},
"quantity_unit": {
"type": "string"
},
"read_at": {
"description": "UTC date the vendor's price was read.",
"type": "string"
},
"region": {
"description": "The region label the vendor states.",
"type": "string"
},
"region_id": {
"description": "Canonical region id the label folds to (`us-east-1`); either spelling answers a `region` filter. Null when no region is stated or the label is unmapped.",
"type": [
"string",
"null"
]
},
"sku": {
"type": "string"
},
"source_url": {
"format": "uri",
"type": "string"
},
"time_unit": {
"anyOf": [
{
"enum": [
"second",
"minute",
"hour",
"month"
],
"type": "string"
},
{
"type": "null"
}
]
},
"unit": {
"type": "string"
},
"unpriced_reason": {
"description": "Why there is no GPU hourly figure (`monthly_rate`, `no_time_unit`, `unknown_gpu_count`).",
"type": [
"string",
"null"
]
},
"usd": {
"description": "USD per `per_quantity` of `quantity_unit` per `time_unit`, as the vendor states it.",
"type": "string"
},
"usd_per_gpu_hour": {
"description": "Price of one GPU per hour, normalised across node and instance rows; the comparable figure.",
"type": [
"string",
"null"
]
},
"usd_per_hour": {
"description": "Price of the vendor's quantity unit per hour; null without an hourly figure. On a row that prices a whole node or instance this is that unit's price, not one GPU's; `usd_per_gpu_hour` is the comparable per-GPU figure.",
"type": [
"string",
"null"
]
},
"usd_per_vcpu_hour": {
"description": "One vCPU's price per hour, normalised across VM, per-core and per-vCPU rows.",
"type": [
"string",
"null"
]
},
"vcpu_unpriced_reason": {
"description": "Why there is no vCPU hourly figure (`monthly_rate`, `no_time_unit`, `unknown_vcpu_count`).",
"type": [
"string",
"null"
]
}
},
"required": [
"sku",
"product",
"pricing_type",
"provenance",
"usd",
"per_quantity",
"quantity_unit",
"time_unit",
"unit",
"usd_per_hour",
"usd_per_gpu_hour",
"usd_per_vcpu_hour",
"unpriced_reason",
"vcpu_unpriced_reason",
"gpu",
"cpu",
"region_id",
"comparison_group",
"source_url",
"read_at"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "The matched offering with the lowest hourly figure, or null when none has one."
},
"clause": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"document": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"effect": {
"enum": [
"allow",
"deny",
"unknown"
],
"type": "string"
},
"obligations": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"quote": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"scope": {
"enum": [
"internal",
"published"
],
"type": "string"
},
"use": {
"enum": [
"fetch_automated",
"store",
"display",
"compare",
"redistribute",
"derive"
],
"type": "string"
}
},
"required": [
"use",
"effect",
"document",
"quote",
"obligations"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "The `compare` denial that withholds this provider's prices; null when its terms permit comparison."
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"products": {
"items": {
"additionalProperties": false,
"properties": {
"capabilities": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name",
"capabilities"
],
"type": "object"
},
"type": "array"
},
"provenance": {
"anyOf": [
{
"enum": [
"first_party",
"third_party"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "The provenance of `cheapest_offering`; null when it is null."
},
"status": {
"enum": [
"active",
"pending",
"defunct"
],
"type": "string"
},
"summary_verdict": {
"enum": [
"permitted",
"comparison_banned",
"competitive_banned",
"automation_banned",
"unchecked",
"defunct"
],
"type": "string"
},
"supply": {
"enum": [
"direct",
"marketplace",
"hybrid"
],
"type": "string"
},
"unpriced_reason": {
"description": "Why no hourly figure was found, when a matched row states one; null when a price was found or no reason is stated.",
"type": [
"string",
"null"
]
},
"website": {
"format": "uri",
"type": "string"
}
},
"required": [
"id",
"name",
"website",
"supply",
"status",
"capabilities",
"products",
"summary_verdict",
"agentic",
"clause",
"provenance",
"cheapest_offering",
"unpriced_reason"
],
"type": "object"
},
"type": "array"
},
"total": {
"description": "Providers matching the filters, before `limit`.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"description": "True when a requested list was cut at its ceiling.",
"type": "boolean"
}
},
"required": [
"catalog_version",
"generated_at",
"total",
"truncated",
"providers",
"attribution"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Your sandboxes, newest first. By default every state but terminated and failed; `state` picks one. `next_cursor` is opaque and only for the next call of this tool.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"minLength": 1,
"type": "string"
},
"limit": {
"description": "Page size, 1-200. Default 50.",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
}
},
"type": "object"
},
"name": "rent_list_sandboxes",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"data": {
"items": {
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"auto_pause": {
"type": "boolean"
},
"auto_resume": {
"type": "boolean"
},
"billed_by": {
"enum": [
"rent.dev",
"vendor"
],
"type": "string"
},
"captured_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"domain": {
"type": [
"string",
"null"
]
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"endpoint_id": {
"type": "string"
},
"held_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"memory_mb": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"region": {
"type": "string"
},
"sandbox_id": {
"type": [
"string",
"null"
]
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"supplier": {
"enum": [
"own",
"byok",
"partner"
],
"type": "string"
},
"template": {
"type": "string"
},
"timeout_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"vercel",
"runpod",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"sandbox_id",
"account_id",
"state",
"template",
"cpu_count",
"memory_mb",
"supplier",
"wire",
"endpoint_id",
"region",
"billed_by",
"metadata",
"auto_pause",
"auto_resume",
"created_at",
"started_at",
"timeout_at",
"ended_at",
"domain",
"captured_micros",
"held_micros"
],
"type": "object"
},
"type": "array"
},
"next_cursor": {
"description": "Pass back as `cursor` for the next page; null on the last page.",
"type": [
"string",
"null"
]
}
},
"required": [
"data",
"next_cursor"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Pauses a running sandbox, keeping its memory and files; the id stays valid and rent_resume_sandbox continues it.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sandbox_id": {
"description": "Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.",
"minLength": 1,
"type": "string"
}
},
"required": [
"sandbox_id"
],
"type": "object"
},
"name": "rent_pause_sandbox",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"auto_pause": {
"type": "boolean"
},
"auto_resume": {
"type": "boolean"
},
"billed_by": {
"enum": [
"rent.dev",
"vendor"
],
"type": "string"
},
"captured_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"domain": {
"type": [
"string",
"null"
]
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"endpoint_id": {
"type": "string"
},
"held_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"memory_mb": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"region": {
"type": "string"
},
"sandbox_id": {
"type": [
"string",
"null"
]
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"supplier": {
"enum": [
"own",
"byok",
"partner"
],
"type": "string"
},
"template": {
"type": "string"
},
"timeout_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"vercel",
"runpod",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"sandbox_id",
"account_id",
"state",
"template",
"cpu_count",
"memory_mb",
"supplier",
"wire",
"endpoint_id",
"region",
"billed_by",
"metadata",
"auto_pause",
"auto_resume",
"created_at",
"started_at",
"timeout_at",
"ended_at",
"domain",
"captured_micros",
"held_micros"
],
"type": "object"
}
},
{
"description": "Dollars per completed task for rent.dev's own sandboxes beside every published-rate vendor, by workload profile, plus hourly GPU rows. Defaults: all three profiles, 2 vCPU, 4096 MiB. A quote is a price list, not a reservation; it holds nothing.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cpu_count": {
"description": "Default 2.",
"maximum": 64,
"minimum": 1,
"type": "integer"
},
"memory_mb": {
"description": "Default 4096.",
"maximum": 9007199254740991,
"minimum": 128,
"type": "integer"
},
"profile": {
"description": "One profile; default all three.",
"enum": [
"agent-loop",
"interactive",
"workspace"
],
"type": "string"
}
},
"type": "object"
},
"name": "rent_quote",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"generated_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"gpus": {
"items": {
"additionalProperties": false,
"properties": {
"availability": {
"anyOf": [
{
"enum": [
"NONE",
"LOW",
"MEDIUM",
"HIGH"
],
"type": "string"
},
{
"type": "null"
}
]
},
"billed_by": {
"enum": [
"rent.dev",
"vendor"
],
"type": "string"
},
"commitment_months": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"gpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"gpu_model": {
"minLength": 1,
"type": "string"
},
"gpu_type": {
"type": "string"
},
"market": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"memory_gb": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
{
"type": "null"
}
]
},
"pricing_basis": {
"enum": [
"listed",
"effective_dated",
"weighted_average",
"median",
"floor",
"advertised_from"
],
"type": "string"
},
"read_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"source_url": {
"type": [
"string",
"null"
]
},
"tier": {
"minLength": 1,
"type": "string"
},
"unpriced_reason": {
"anyOf": [
{
"enum": [
"monthly_rate",
"no_time_unit",
"unknown_gpu_count"
],
"type": "string"
},
{
"type": "null"
}
]
},
"usd_per_gpu_hour": {
"anyOf": [
{
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
{
"type": "null"
}
]
},
"usd_per_hour": {
"anyOf": [
{
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
{
"type": "null"
}
]
},
"vendor": {
"type": "string"
}
},
"required": [
"vendor",
"gpu_type",
"gpu_model",
"memory_gb",
"usd_per_hour",
"usd_per_gpu_hour",
"gpu_count",
"pricing_basis",
"market",
"commitment_months",
"unpriced_reason",
"availability",
"billed_by",
"source_url",
"read_at"
],
"type": "object"
},
"type": "array"
},
"quotes": {
"items": {
"additionalProperties": false,
"properties": {
"duty": {
"maximum": 1,
"minimum": 0,
"type": "number"
},
"profile": {
"enum": [
"agent-loop",
"interactive",
"workspace"
],
"type": "string"
},
"rows": {
"items": {
"additionalProperties": false,
"properties": {
"billed_by": {
"enum": [
"rent.dev",
"vendor"
],
"type": "string"
},
"per_task_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"product": {
"type": "string"
},
"rates": {
"items": {
"additionalProperties": false,
"properties": {
"component": {
"type": "string"
},
"quantity_unit": {
"type": "string"
},
"time_unit": {
"anyOf": [
{
"enum": [
"second",
"minute",
"hour",
"month"
],
"type": "string"
},
{
"type": "null"
}
]
},
"usd": {
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
}
},
"required": [
"component",
"usd",
"quantity_unit",
"time_unit"
],
"type": "object"
},
"type": "array"
},
"read_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"source_url": {
"anyOf": [
{
"format": "uri",
"type": "string"
},
{
"type": "null"
}
]
},
"vendor": {
"type": "string"
}
},
"required": [
"vendor",
"product",
"billed_by",
"per_task_micros",
"rates",
"source_url",
"read_at"
],
"type": "object"
},
"type": "array"
},
"shape": {
"additionalProperties": false,
"properties": {
"cpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"memory_mb": {
"maximum": 9007199254740991,
"minimum": 128,
"type": "integer"
}
},
"required": [
"cpu_count",
"memory_mb"
],
"type": "object"
},
"task_seconds": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"profile",
"shape",
"duty",
"task_seconds",
"rows"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"generated_at",
"quotes",
"gpus"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Reads a file from a running sandbox. Without `encoding` the content comes back as UTF-8 text when it is valid UTF-8, else as base64.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"encoding": {
"enum": [
"utf-8",
"base64"
],
"type": "string"
},
"path": {
"description": "Absolute path, e.g. /home/user/main.py.",
"minLength": 1,
"type": "string"
},
"sandbox_id": {
"description": "Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.",
"minLength": 1,
"type": "string"
}
},
"required": [
"sandbox_id",
"path"
],
"type": "object"
},
"name": "rent_read_file",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"content": {
"type": "string"
},
"encoding": {
"enum": [
"utf-8",
"base64"
],
"type": "string"
},
"path": {
"type": "string"
},
"size": {
"description": "Bytes.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"path",
"size",
"encoding",
"content"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Resumes a paused sandbox with a new timeout (default 300 s), holding its cost first on the key that started it; a short balance answers 402 with top-up links. An API key with a spend limit cannot resume a sandbox another key started (403 forbidden).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sandbox_id": {
"description": "Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.",
"minLength": 1,
"type": "string"
},
"timeout_s": {
"maximum": 86400,
"minimum": 1,
"type": "integer"
}
},
"required": [
"sandbox_id"
],
"type": "object"
},
"name": "rent_resume_sandbox",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"auto_pause": {
"type": "boolean"
},
"auto_resume": {
"type": "boolean"
},
"billed_by": {
"enum": [
"rent.dev",
"vendor"
],
"type": "string"
},
"captured_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"domain": {
"type": [
"string",
"null"
]
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"endpoint_id": {
"type": "string"
},
"held_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"memory_mb": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"region": {
"type": "string"
},
"sandbox_id": {
"type": [
"string",
"null"
]
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"supplier": {
"enum": [
"own",
"byok",
"partner"
],
"type": "string"
},
"template": {
"type": "string"
},
"timeout_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"vercel",
"runpod",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"sandbox_id",
"account_id",
"state",
"template",
"cpu_count",
"memory_mb",
"supplier",
"wire",
"endpoint_id",
"region",
"billed_by",
"metadata",
"auto_pause",
"auto_resume",
"created_at",
"started_at",
"timeout_at",
"ended_at",
"domain",
"captured_micros",
"held_micros"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Runs code on the Jupyter kernel of a `code-interpreter-v1` sandbox and answers its rich results (text, images as base64, …), stdout, stderr and error. State persists between calls in one context_id; a context lives as long as the sandbox. timeout_s defaults to 50. Arguments not listed here go to the REST route as they are, which refuses them by name.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"code": {
"minLength": 1,
"type": "string"
},
"context_id": {
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"language": {
"description": "Default python.",
"enum": [
"python",
"javascript",
"typescript",
"r",
"java",
"bash"
],
"type": "string"
},
"sandbox_id": {
"description": "Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.",
"minLength": 1,
"type": "string"
},
"timeout_s": {
"default": 50,
"maximum": 3600,
"minimum": 1,
"type": "integer"
}
},
"required": [
"sandbox_id",
"code"
],
"type": "object"
},
"name": "rent_run_code",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"error": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"traceback": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value",
"traceback"
],
"type": "object"
},
{
"type": "null"
}
]
},
"execution_count": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
{
"type": "null"
}
]
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"html": {
"type": "string"
},
"is_main_result": {
"type": "boolean"
},
"javascript": {
"type": "string"
},
"jpeg": {
"type": "string"
},
"json": {},
"latex": {
"type": "string"
},
"markdown": {
"type": "string"
},
"pdf": {
"type": "string"
},
"png": {
"type": "string"
},
"svg": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"is_main_result"
],
"type": "object"
},
"type": "array"
},
"stderr": {
"items": {
"type": "string"
},
"type": "array"
},
"stdout": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"results",
"stdout",
"stderr",
"error",
"execution_count"
],
"type": "object"
}
},
{
"description": "Keyword search over the sections of rent.dev's full docs (llms-full.txt): each hit is one section, best first, with its heading path and Markdown. The docs are re-read every five minutes.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"description": "Sections to answer. Default 5.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"query": {
"description": "Words to look for, e.g. `x402 top-up`.",
"minLength": 1,
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"name": "rent_search_docs",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"results": {
"items": {
"additionalProperties": false,
"properties": {
"path": {
"description": "Headings from the top, joined with ` > `.",
"type": "string"
},
"score": {
"type": "number"
},
"text": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"title",
"path",
"score",
"text"
],
"type": "object"
},
"type": "array"
},
"source": {
"description": "The document searched.",
"type": "string"
},
"total": {
"description": "Sections that matched.",
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"source",
"total",
"results"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Stores 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.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"fields": {
"additionalProperties": {},
"description": "The vendor's secret fields.",
"properties": {
"api_key": {
"minLength": 1,
"type": "string"
},
"project_id": {
"minLength": 1,
"type": "string"
},
"team_id": {
"minLength": 1,
"type": "string"
},
"token": {
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"label": {
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"vendor": {
"enum": [
"e2b",
"vercel",
"runpod"
],
"type": "string"
}
},
"required": [
"vendor",
"fields"
],
"type": "object"
},
"name": "rent_set_byok_credential",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"pattern": "^cred_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"label": {
"type": [
"string",
"null"
]
},
"validated_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"vendor": {
"enum": [
"e2b",
"vercel",
"runpod"
],
"type": "string"
}
},
"required": [
"id",
"vendor",
"label",
"created_at",
"validated_at"
],
"type": "object"
}
},
{
"description": "Creates a rent.dev account and answers its API key, shown this once (store it; it stays valid until revoked), with the MCP URL and the Authorization header that unlocks its account tools, and a three-line REST quickstart. Go on over REST with the key now: `next_step` creates a sandbox. `reconnect` is your MCP client's `/mcp` block with the key in it (pass `client`; without it, the generic URL and header): a client that can add a server or a header mid-session uses it at once, any other in its next session. To be able to retry, pass idempotency_key, a random value you keep (a UUID will do): if the answer is lost, call again with the same value within 24 hours and you get the same account with a new API key that replaces the first, not a second account. That holds while the account is untouched (its key never used, nothing bound to it, no money in); after that the repeat is refused with idempotency_key_reused and answers no key. Without idempotency_key every call creates a new account. The account starts with a zero balance unless a promotion gives it promotional credit (rent_get_balance shows it): a call that needs more credit than it has answers 402 with a card pay link and an x402 top-up, or use rent_topup with the key. While a limit is set, one network address can create only a limited number of free accounts in 24 hours; past it the call answers 429 signup_limit with retry_after.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"client": {
"description": "Your MCP client, so that `reconnect` is its own block: claude, claude-ai, codex, cursor, vscode, copilot, gemini, windsurf, cline, zed, opencode, goose, qwen, droid, amp, kiro, warp, http, stdio. `http` is any other client, `stdio` one that only starts local servers.",
"enum": [
"claude",
"claude-ai",
"codex",
"cursor",
"vscode",
"copilot",
"gemini",
"windsurf",
"cline",
"zed",
"opencode",
"goose",
"qwen",
"droid",
"amp",
"kiro",
"warp",
"http",
"stdio"
],
"type": "string"
},
"idempotency_key": {
"description": "A random value you choose and keep, such as a UUID, so the signup can be repeated without making a second account. Treat it as a secret for 24 hours: while the account is untouched, whoever sends it gets a new key to the account. The same value works as the Idempotency-Key header of POST /v1/accounts.",
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"name": "rent_signup",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"account": {
"additionalProperties": false,
"properties": {
"account": {
"additionalProperties": false,
"properties": {
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"frozen": {
"type": "boolean"
},
"id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"recovery": {
"additionalProperties": false,
"properties": {
"agent_key": {
"type": "boolean"
},
"passkey": {
"type": "boolean"
},
"wallet": {
"type": "boolean"
}
},
"required": [
"agent_key",
"wallet",
"passkey"
],
"type": "object"
}
},
"required": [
"id",
"created_at",
"frozen",
"recovery"
],
"type": "object"
},
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"api_key": {
"additionalProperties": false,
"properties": {
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"pattern": "^key_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"last_used_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": [
"string",
"null"
]
},
"prefix": {
"maxLength": 12,
"minLength": 12,
"type": "string"
},
"revoked_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"secret": {
"pattern": "^rent_sk_[0-9a-f]{64}$",
"type": "string"
},
"spend_limit_micros": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"spent_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"prefix",
"name",
"created_at",
"last_used_at",
"revoked_at",
"spend_limit_micros",
"spent_micros",
"secret"
],
"type": "object"
}
},
"required": [
"account_id",
"account",
"api_key"
],
"type": "object"
},
"account_id": {
"type": "string"
},
"api_key": {
"description": "The secret (`rent_sk_…`), shown once.",
"type": "string"
},
"mcp": {
"additionalProperties": false,
"properties": {
"headers": {
"additionalProperties": false,
"properties": {
"Authorization": {
"type": "string"
}
},
"required": [
"Authorization"
],
"type": "object"
},
"url": {
"description": "The MCP endpoint; send the header there for its account tools.",
"type": "string"
}
},
"required": [
"url",
"headers"
],
"type": "object"
},
"next_step": {
"description": "Run this now: it creates a sandbox with this key and a 3600 second timeout.",
"type": "string"
},
"quickstart": {
"description": "REST calls, in order: balance, create, exec.",
"items": {
"type": "string"
},
"type": "array"
},
"reconnect": {
"additionalProperties": false,
"description": "How your client reaches `/mcp` with this key.",
"properties": {
"client": {
"description": "`client`, or `http` when it was left out.",
"enum": [
"claude",
"claude-ai",
"codex",
"cursor",
"vscode",
"copilot",
"gemini",
"windsurf",
"cline",
"zed",
"opencode",
"goose",
"qwen",
"droid",
"amp",
"kiro",
"warp",
"http",
"stdio"
],
"type": "string"
},
"format": {
"description": "`shell`: a command to run once. `json`, `toml`, `yaml`: contents to merge into the file. `form`: the fields of a settings form. `launch`: the command the client starts as a local server.",
"type": "string"
},
"name": {
"description": "The client's name.",
"type": "string"
},
"next": {
"description": "What to do after, per the client's docs; null when nothing.",
"type": [
"string",
"null"
]
},
"session": {
"description": "What the client's docs say about a running session; null when they say nothing.",
"type": [
"string",
"null"
]
},
"setup": {
"description": "The client's section of the MCP page.",
"type": "string"
},
"text": {
"description": "The client's `/mcp` block, with this key in it.",
"type": "string"
},
"where": {
"description": "Where `text` goes: a terminal, a file, or a settings form.",
"type": "string"
}
},
"required": [
"client",
"name",
"format",
"where",
"text",
"next",
"session",
"setup"
],
"type": "object"
},
"replayed": {
"description": "True when this repeats an earlier signup with the same idempotency_key: the same account, with a new API key that replaced the one answered before.",
"type": "boolean"
}
},
"required": [
"account_id",
"api_key",
"replayed",
"account",
"mcp",
"quickstart",
"next_step",
"reconnect"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Starts a command in the background and answers at once with its process id. The process id is valid while the sandbox runs; read its output with rent_get_process_output. The process ends with the sandbox. Arguments not listed here go to the REST route as they are, which refuses them by name.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cmd": {
"minLength": 1,
"type": "string"
},
"cwd": {
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"sandbox_id": {
"description": "Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.",
"minLength": 1,
"type": "string"
},
"stdin": {
"description": "Keep stdin open.",
"type": "boolean"
},
"user": {
"type": "string"
}
},
"required": [
"sandbox_id",
"cmd"
],
"type": "object"
},
"name": "rent_start_process",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"cmd": {
"type": "string"
},
"exit_code": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
{
"type": "null"
}
]
},
"process_id": {
"type": "string"
},
"running": {
"type": "boolean"
},
"started_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
}
},
"required": [
"process_id",
"cmd",
"started_at",
"running",
"exit_code"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. For someone who runs a machine, their own or a VPS rented elsewhere, and wants to sell its compute; to get a machine to use, call rent_create_sandbox instead. What your nodes have earned, in micro-USD (one micro-USD is one USDC base unit): totals and one page of entries, newest first. A lease shows once it settles, never while it runs. Each entry counts in exactly one total, named by its `state`: `pending` (in the holdback, which is longer when the customer paid by card), `releasable` (waiting for its node's next payout), `frozen` (never paid while frozen), `in_payout` (in an open payout, named by `payout_id`), `paid` (the chain shows its payout made). `unaddressed_micros` is the releasable part on nodes with no payout address on the payout network: register one with rent_supply_update_node. `payouts` says whether this environment pays, and on which network, token and wallet. Each node is paid once a day, in USDC, to the address registered on that node; a node without an address is not paid and its releasable earnings wait until one is registered. A payout cannot be reversed, and a payout made is never sent again to another address. rent_supply_payouts lists the payouts themselves. `next_cursor` is only for the next call of this tool.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"minLength": 1,
"type": "string"
},
"limit": {
"description": "Entries per page, 1-200. Default 50.",
"maximum": 200,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "rent_supply_earnings",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"entries": {
"items": {
"additionalProperties": false,
"properties": {
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"customer_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"frozen": {
"type": "boolean"
},
"key": {
"minLength": 1,
"type": "string"
},
"lease_id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"node_id": {
"pattern": "^n[0-9a-hjkmnp-tv-z]{15}$",
"type": "string"
},
"payout_id": {
"anyOf": [
{
"pattern": "^pay_(n[0-9a-hjkmnp-tv-z]{15})_(\\d{8})$",
"type": "string"
},
{
"type": "null"
}
]
},
"releasable_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"state": {
"enum": [
"paid",
"in_payout",
"frozen",
"releasable",
"pending"
],
"type": "string"
}
},
"required": [
"key",
"lease_id",
"node_id",
"micros",
"customer_micros",
"created_at",
"releasable_at",
"frozen",
"state",
"payout_id"
],
"type": "object"
},
"type": "array"
},
"frozen_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"in_payout_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"next_cursor": {
"type": [
"string",
"null"
]
},
"paid_out_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"payouts": {
"additionalProperties": false,
"properties": {
"asset": {
"anyOf": [
{
"pattern": "^0x[0-9a-f]{40}$",
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
},
"from": {
"anyOf": [
{
"pattern": "^0x[0-9a-f]{40}$",
"type": "string"
},
{
"type": "null"
}
]
},
"network": {
"anyOf": [
{
"pattern": "^eip155:[1-9][0-9]*$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"enabled",
"network",
"asset",
"from"
],
"type": "object"
},
"pending_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"releasable_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"unaddressed_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"pending_micros",
"releasable_micros",
"frozen_micros",
"in_payout_micros",
"paid_out_micros",
"unaddressed_micros",
"payouts",
"entries",
"next_cursor"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. For someone who runs a machine, their own or a VPS rented elsewhere, and wants to sell its compute; to get a machine to use, call rent_create_sandbox instead. Makes claim tokens for new nodes, one per node, each valid for 10 minutes and shown only in this answer. `lines` holds the exact shell line for each token: run it on the machine and the node kit sets the machine up, claims the node, links it and reports each step. The token reaches the kit on stdin, never as a process argument. On a host the claim comes after the install, and a first install can outlast the token: when the line ends with `claim_invalid`, call this tool again and run the same line with the new token. That run is quick, because the host is already set up. `payout` registers the USDC address every node of this enrolment is paid to; without it the nodes are not paid until one is set with rent_supply_update_node. Ask the user for the address; never make one up. Each node is paid once a day, in USDC, to the address registered on that node; a node without an address is not paid and its releasable earnings wait until one is registered. A payout cannot be reversed, and a payout made is never sent again to another address. A refusal carries `retryable`, `owner_action_required` and `next`; run `next.command` after `next.after_s` seconds, on a driver machine through npx and with its driver file, as rent_supply_guide says.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"ask": {
"description": "What you ask per hour. Customers pay this plus rent.dev's take.",
"properties": {
"cpu_usd_per_vcpu_hour": {
"description": "USD per vCPU-hour, a decimal string: \"0.01\".",
"type": "string"
},
"memory_usd_per_gib_hour": {
"description": "USD per GiB-hour, a decimal string: \"0.002\".",
"type": "string"
}
},
"required": [
"cpu_usd_per_vcpu_hour",
"memory_usd_per_gib_hour"
],
"type": "object"
},
"capacity": {
"description": "What each node offers.",
"properties": {
"slots": {
"description": "Sandboxes the node runs at once.",
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"slots"
],
"type": "object"
},
"count": {
"description": "Nodes to enrol: one claim token each. Default 1.",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"payout": {
"description": "Where this node's payouts go. Each node is paid once a day, in USDC, to the address registered on that node; a node without an address is not paid and its releasable earnings wait until one is registered. A payout cannot be reversed, and a payout made is never sent again to another address.",
"properties": {
"address": {
"description": "The USDC address payouts go to: 0x and 40 hex digits, lowercase or with a correct EIP-55 checksum, never the zero address.",
"type": "string"
},
"network": {
"description": "CAIP-2 network of the address, e.g. `eip155:8453`. Leave it out for the payout network; any other is refused.",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
},
"region": {
"description": "A generic region label such as `us-central` or `eu-central`, never a vendor's.",
"minLength": 1,
"type": "string"
},
"wire": {
"description": "`e2b`: a Linux host where the node kit installs the sandbox stack. `rent`: a driver file you write for your own platform.",
"enum": [
"e2b",
"rent"
],
"type": "string"
}
},
"required": [
"wire",
"region",
"ask",
"capacity"
],
"type": "object"
},
"name": "rent_supply_enroll",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"claim_tokens": {
"description": "Shown once: one per node.",
"items": {
"type": "string"
},
"type": "array"
},
"expires_at": {
"type": "string"
},
"guide_url": {
"type": "string"
},
"id": {
"type": "string"
},
"install": {
"additionalProperties": false,
"properties": {
"driver": {
"type": "string"
},
"host": {
"type": "string"
}
},
"required": [
"host",
"driver"
],
"type": "object"
},
"lines": {
"description": "One entry per claim token: the exact shell line with that token in it.",
"items": {
"additionalProperties": false,
"properties": {
"claim_token": {
"type": "string"
},
"driver": {
"description": "Run beside your driver file, for wire `rent`; put its path in.",
"type": "string"
},
"host": {
"description": "Run on the host, for wire `e2b`.",
"type": "string"
}
},
"required": [
"claim_token",
"host",
"driver"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"claim_tokens",
"expires_at",
"install",
"guide_url",
"lines"
],
"type": "object"
}
},
{
"description": "For someone who runs a machine, their own or a VPS rented elsewhere, and wants to sell its compute; to get a machine to use, call rent_create_sandbox instead. The guide for running a machine as a rent.dev node, as Markdown: whether supply is open on this deployment, the two ways to run a node, every step with its exact command, each node state and what to do next, every check with its fix, every problem, rates and the holdback. Read it before rent_supply_enroll. Needs no scope, and the public endpoint serves it too.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {},
"type": "object"
},
"name": "rent_supply_guide",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"markdown": {
"type": "string"
},
"url": {
"description": "Where the same guide is served.",
"type": "string"
}
},
"required": [
"url",
"markdown"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. For someone who runs a machine, their own or a VPS rented elsewhere, and wants to sell its compute; to get a machine to use, call rent_create_sandbox instead. One of your nodes: state, wire, region, ask, capacity, templates, checks with their fixes, suspension reasons, placement, setup timings and `payout`, the address it is paid to (null while none is registered: the node is not paid). `next` names the one command to run and when; poll this until `next.action` is `none`.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"node_id": {
"description": "Node id (`n` and 15 characters) from rent_supply_nodes, or from the node kit once a node is claimed.",
"minLength": 1,
"type": "string"
}
},
"required": [
"node_id"
],
"type": "object"
},
"name": "rent_supply_node",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"ask": {
"additionalProperties": false,
"properties": {
"cpu_usd_per_vcpu_hour": {
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
"memory_usd_per_gib_hour": {
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
}
},
"required": [
"cpu_usd_per_vcpu_hour",
"memory_usd_per_gib_hour"
],
"type": "object"
},
"capacity": {
"additionalProperties": false,
"properties": {
"slots": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"slots"
],
"type": "object"
},
"checks": {
"items": {
"additionalProperties": false,
"properties": {
"code": {
"enum": [
"os_linux",
"kvm_available",
"cgroup_v2",
"docker_version",
"docker_compose",
"outbound_443",
"outbound_7844",
"disk_free_gib",
"memory_gib",
"embed_ports_closed",
"clock_skew",
"bare_metal",
"no_unattended_upgrades",
"other_schedulers",
"link_up",
"gate_answers",
"key_proof",
"template_base",
"create",
"exec",
"shape_vcpu",
"shape_memory",
"cpu_bench",
"file_roundtrip",
"cold_start_ms",
"kill",
"kill_idempotent",
"no_orphans",
"data_plane",
"paid_path"
],
"type": "string"
},
"detail": {
"type": "string"
},
"doc_url": {
"type": "string"
},
"fix": {
"type": "string"
},
"source": {
"enum": [
"node",
"platform"
],
"type": "string"
},
"status": {
"enum": [
"pass",
"fail",
"warn",
"skip"
],
"type": "string"
}
},
"required": [
"code",
"status",
"source",
"detail",
"fix",
"doc_url"
],
"type": "object"
},
"type": "array"
},
"endpoint_id": {
"minLength": 1,
"type": "string"
},
"id": {
"pattern": "^n[0-9a-hjkmnp-tv-z]{15}$",
"type": "string"
},
"kit": {
"additionalProperties": false,
"properties": {
"image": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"min_version": {
"anyOf": [
{
"pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)(?:-([0-9A-Za-z.-]+))?$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"image",
"min_version"
],
"type": "object"
},
"next": {
"additionalProperties": false,
"properties": {
"action": {
"enum": [
"start_link",
"wait",
"fix_checks",
"upgrade",
"re_enroll",
"none"
],
"type": "string"
},
"after_s": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"command": {
"type": [
"string",
"null"
]
}
},
"required": [
"action",
"command",
"after_s"
],
"type": "object"
},
"payout": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-f]{40}$",
"type": "string"
},
"network": {
"anyOf": [
{
"pattern": "^eip155:[1-9][0-9]*$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"address",
"network"
],
"type": "object"
},
{
"type": "null"
}
]
},
"phase_ms": {
"additionalProperties": false,
"properties": {
"audit": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"claim": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"embed": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"link": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"preflight": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"probe": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"templates": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"placement": {
"additionalProperties": false,
"properties": {
"explorable": {
"type": "boolean"
},
"price_vs_list": {
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
]
},
"reason": {
"type": [
"string",
"null"
]
}
},
"required": [
"price_vs_list",
"explorable",
"reason"
],
"type": "object"
},
"reachable": {
"type": "boolean"
},
"reasons": {
"items": {
"enum": [
"os_linux",
"kvm_available",
"cgroup_v2",
"docker_version",
"docker_compose",
"outbound_443",
"outbound_7844",
"disk_free_gib",
"memory_gib",
"embed_ports_closed",
"clock_skew",
"link_up",
"gate_answers",
"key_proof",
"template_base",
"create",
"exec",
"shape_vcpu",
"shape_memory",
"cpu_bench",
"file_roundtrip",
"kill",
"kill_idempotent",
"no_orphans",
"data_plane",
"paid_path",
"stale_heartbeat",
"liveness_mismatch",
"provider_request"
],
"type": "string"
},
"type": "array"
},
"region": {
"type": "string"
},
"state": {
"enum": [
"linking",
"probing",
"probation",
"active",
"suspended",
"revoked"
],
"type": "string"
},
"templates": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"time_to_first_customer_lease_ms": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"time_to_first_payable_ms": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"endpoint_id",
"state",
"wire",
"region",
"ask",
"capacity",
"templates",
"checks",
"reasons",
"reachable",
"next",
"phase_ms",
"placement",
"time_to_first_payable_ms",
"time_to_first_customer_lease_ms",
"payout"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. For someone who runs a machine, their own or a VPS rented elsewhere, and wants to sell its compute; to get a machine to use, call rent_create_sandbox instead. Your nodes, newest claim first, each with its state, checks and `next` step. `next_cursor` is only for the next call of this tool.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"minLength": 1,
"type": "string"
},
"limit": {
"description": "Page size, 1-200. Default 50.",
"maximum": 200,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "rent_supply_nodes",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"data": {
"items": {
"additionalProperties": false,
"properties": {
"ask": {
"additionalProperties": false,
"properties": {
"cpu_usd_per_vcpu_hour": {
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
"memory_usd_per_gib_hour": {
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
}
},
"required": [
"cpu_usd_per_vcpu_hour",
"memory_usd_per_gib_hour"
],
"type": "object"
},
"capacity": {
"additionalProperties": false,
"properties": {
"slots": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"slots"
],
"type": "object"
},
"checks": {
"items": {
"additionalProperties": false,
"properties": {
"code": {
"enum": [
"os_linux",
"kvm_available",
"cgroup_v2",
"docker_version",
"docker_compose",
"outbound_443",
"outbound_7844",
"disk_free_gib",
"memory_gib",
"embed_ports_closed",
"clock_skew",
"bare_metal",
"no_unattended_upgrades",
"other_schedulers",
"link_up",
"gate_answers",
"key_proof",
"template_base",
"create",
"exec",
"shape_vcpu",
"shape_memory",
"cpu_bench",
"file_roundtrip",
"cold_start_ms",
"kill",
"kill_idempotent",
"no_orphans",
"data_plane",
"paid_path"
],
"type": "string"
},
"detail": {
"type": "string"
},
"doc_url": {
"type": "string"
},
"fix": {
"type": "string"
},
"source": {
"enum": [
"node",
"platform"
],
"type": "string"
},
"status": {
"enum": [
"pass",
"fail",
"warn",
"skip"
],
"type": "string"
}
},
"required": [
"code",
"status",
"source",
"detail",
"fix",
"doc_url"
],
"type": "object"
},
"type": "array"
},
"endpoint_id": {
"minLength": 1,
"type": "string"
},
"id": {
"pattern": "^n[0-9a-hjkmnp-tv-z]{15}$",
"type": "string"
},
"kit": {
"additionalProperties": false,
"properties": {
"image": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"min_version": {
"anyOf": [
{
"pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)(?:-([0-9A-Za-z.-]+))?$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"image",
"min_version"
],
"type": "object"
},
"next": {
"additionalProperties": false,
"properties": {
"action": {
"enum": [
"start_link",
"wait",
"fix_checks",
"upgrade",
"re_enroll",
"none"
],
"type": "string"
},
"after_s": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"command": {
"type": [
"string",
"null"
]
}
},
"required": [
"action",
"command",
"after_s"
],
"type": "object"
},
"payout": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-f]{40}$",
"type": "string"
},
"network": {
"anyOf": [
{
"pattern": "^eip155:[1-9][0-9]*$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"address",
"network"
],
"type": "object"
},
{
"type": "null"
}
]
},
"phase_ms": {
"additionalProperties": false,
"properties": {
"audit": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"claim": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"embed": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"link": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"preflight": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"probe": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"templates": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"placement": {
"additionalProperties": false,
"properties": {
"explorable": {
"type": "boolean"
},
"price_vs_list": {
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
]
},
"reason": {
"type": [
"string",
"null"
]
}
},
"required": [
"price_vs_list",
"explorable",
"reason"
],
"type": "object"
},
"reachable": {
"type": "boolean"
},
"reasons": {
"items": {
"enum": [
"os_linux",
"kvm_available",
"cgroup_v2",
"docker_version",
"docker_compose",
"outbound_443",
"outbound_7844",
"disk_free_gib",
"memory_gib",
"embed_ports_closed",
"clock_skew",
"link_up",
"gate_answers",
"key_proof",
"template_base",
"create",
"exec",
"shape_vcpu",
"shape_memory",
"cpu_bench",
"file_roundtrip",
"kill",
"kill_idempotent",
"no_orphans",
"data_plane",
"paid_path",
"stale_heartbeat",
"liveness_mismatch",
"provider_request"
],
"type": "string"
},
"type": "array"
},
"region": {
"type": "string"
},
"state": {
"enum": [
"linking",
"probing",
"probation",
"active",
"suspended",
"revoked"
],
"type": "string"
},
"templates": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"time_to_first_customer_lease_ms": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"time_to_first_payable_ms": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"endpoint_id",
"state",
"wire",
"region",
"ask",
"capacity",
"templates",
"checks",
"reasons",
"reachable",
"next",
"phase_ms",
"placement",
"time_to_first_payable_ms",
"time_to_first_customer_lease_ms",
"payout"
],
"type": "object"
},
"type": "array"
},
"next_cursor": {
"description": "Pass back as `cursor` for the next page; null on the last page.",
"type": [
"string",
"null"
]
}
},
"required": [
"data",
"next_cursor"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. For someone who runs a machine, their own or a VPS rented elsewhere, and wants to sell its compute; to get a machine to use, call rent_create_sandbox instead. The payouts to your nodes, newest first: node, amount in micro-USD (USDC base units), network, token, the wallet paid from, the address paid to, and the transaction once known. `node` keeps one node's payouts. `state` is `open` until the finalized chain shows the transfer made (`paid`) or its last authorization expired unused (`void`; its earnings go into a later payout). `reason` says why a payout is void, or what the last send was refused with. To check a payout without trusting rent.dev, `eth_call` its `verify` (`to`, `data`) on any RPC of its network: the token answers 1 once the payout landed. `nonce` is the authorization's nonce the token accepts once. Each node is paid once a day, in USDC, to the address registered on that node; a node without an address is not paid and its releasable earnings wait until one is registered. A payout cannot be reversed, and a payout made is never sent again to another address. `next_cursor` is only for the next call of this tool.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cursor": {
"minLength": 1,
"type": "string"
},
"limit": {
"description": "Payouts per page, 1-200. Default 50.",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"node": {
"description": "Only this node's payouts: its id (`n` and 15 characters) from rent_supply_nodes. Another account's node, or an unknown id, gives an empty page.",
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"name": "rent_supply_payouts",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"data": {
"items": {
"additionalProperties": false,
"properties": {
"amount_micros": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"asset": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"attempts": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"from": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"id": {
"pattern": "^pay_(n[0-9a-hjkmnp-tv-z]{15})_(\\d{8})$",
"type": "string"
},
"network": {
"pattern": "^eip155:([1-9][0-9]*)$",
"type": "string"
},
"node_id": {
"pattern": "^n[0-9a-hjkmnp-tv-z]{15}$",
"type": "string"
},
"nonce": {
"pattern": "^0x[0-9a-f]{64}$",
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"settled_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"open",
"paid",
"void"
],
"type": "string"
},
"to": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"transaction": {
"anyOf": [
{
"pattern": "^0x[0-9a-f]{64}$",
"type": "string"
},
{
"type": "null"
}
]
},
"valid_before": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"verify": {
"additionalProperties": false,
"properties": {
"data": {
"pattern": "^0x[0-9a-f]*$",
"type": "string"
},
"to": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
}
},
"required": [
"to",
"data"
],
"type": "object"
}
},
"required": [
"id",
"node_id",
"state",
"amount_micros",
"network",
"asset",
"from",
"to",
"nonce",
"valid_before",
"transaction",
"attempts",
"reason",
"created_at",
"settled_at",
"verify"
],
"type": "object"
},
"type": "array"
},
"next_cursor": {
"description": "Pass back as `cursor` for the next page; null on the last page.",
"type": [
"string",
"null"
]
}
},
"required": [
"data",
"next_cursor"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. For someone who runs a machine, their own or a VPS rented elsewhere, and wants to sell its compute; to get a machine to use, call rent_create_sandbox instead. Makes the node's next probe due now, and takes a suspended node back to probing. The probe starts within about a minute. Read the outcome with rent_supply_node. A probe already running is refused with `probe_in_progress`. A refusal carries `retryable`, `owner_action_required` and `next`; run `next.command` after `next.after_s` seconds, on a driver machine through npx and with its driver file, as rent_supply_guide says.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"node_id": {
"description": "Node id (`n` and 15 characters) from rent_supply_nodes, or from the node kit once a node is claimed.",
"minLength": 1,
"type": "string"
}
},
"required": [
"node_id"
],
"type": "object"
},
"name": "rent_supply_probe_node",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"ask": {
"additionalProperties": false,
"properties": {
"cpu_usd_per_vcpu_hour": {
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
"memory_usd_per_gib_hour": {
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
}
},
"required": [
"cpu_usd_per_vcpu_hour",
"memory_usd_per_gib_hour"
],
"type": "object"
},
"capacity": {
"additionalProperties": false,
"properties": {
"slots": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"slots"
],
"type": "object"
},
"checks": {
"items": {
"additionalProperties": false,
"properties": {
"code": {
"enum": [
"os_linux",
"kvm_available",
"cgroup_v2",
"docker_version",
"docker_compose",
"outbound_443",
"outbound_7844",
"disk_free_gib",
"memory_gib",
"embed_ports_closed",
"clock_skew",
"bare_metal",
"no_unattended_upgrades",
"other_schedulers",
"link_up",
"gate_answers",
"key_proof",
"template_base",
"create",
"exec",
"shape_vcpu",
"shape_memory",
"cpu_bench",
"file_roundtrip",
"cold_start_ms",
"kill",
"kill_idempotent",
"no_orphans",
"data_plane",
"paid_path"
],
"type": "string"
},
"detail": {
"type": "string"
},
"doc_url": {
"type": "string"
},
"fix": {
"type": "string"
},
"source": {
"enum": [
"node",
"platform"
],
"type": "string"
},
"status": {
"enum": [
"pass",
"fail",
"warn",
"skip"
],
"type": "string"
}
},
"required": [
"code",
"status",
"source",
"detail",
"fix",
"doc_url"
],
"type": "object"
},
"type": "array"
},
"endpoint_id": {
"minLength": 1,
"type": "string"
},
"id": {
"pattern": "^n[0-9a-hjkmnp-tv-z]{15}$",
"type": "string"
},
"kit": {
"additionalProperties": false,
"properties": {
"image": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"min_version": {
"anyOf": [
{
"pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)(?:-([0-9A-Za-z.-]+))?$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"image",
"min_version"
],
"type": "object"
},
"next": {
"additionalProperties": false,
"properties": {
"action": {
"enum": [
"start_link",
"wait",
"fix_checks",
"upgrade",
"re_enroll",
"none"
],
"type": "string"
},
"after_s": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"command": {
"type": [
"string",
"null"
]
}
},
"required": [
"action",
"command",
"after_s"
],
"type": "object"
},
"payout": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-f]{40}$",
"type": "string"
},
"network": {
"anyOf": [
{
"pattern": "^eip155:[1-9][0-9]*$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"address",
"network"
],
"type": "object"
},
{
"type": "null"
}
]
},
"phase_ms": {
"additionalProperties": false,
"properties": {
"audit": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"claim": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"embed": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"link": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"preflight": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"probe": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"templates": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"placement": {
"additionalProperties": false,
"properties": {
"explorable": {
"type": "boolean"
},
"price_vs_list": {
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
]
},
"reason": {
"type": [
"string",
"null"
]
}
},
"required": [
"price_vs_list",
"explorable",
"reason"
],
"type": "object"
},
"reachable": {
"type": "boolean"
},
"reasons": {
"items": {
"enum": [
"os_linux",
"kvm_available",
"cgroup_v2",
"docker_version",
"docker_compose",
"outbound_443",
"outbound_7844",
"disk_free_gib",
"memory_gib",
"embed_ports_closed",
"clock_skew",
"link_up",
"gate_answers",
"key_proof",
"template_base",
"create",
"exec",
"shape_vcpu",
"shape_memory",
"cpu_bench",
"file_roundtrip",
"kill",
"kill_idempotent",
"no_orphans",
"data_plane",
"paid_path",
"stale_heartbeat",
"liveness_mismatch",
"provider_request"
],
"type": "string"
},
"type": "array"
},
"region": {
"type": "string"
},
"state": {
"enum": [
"linking",
"probing",
"probation",
"active",
"suspended",
"revoked"
],
"type": "string"
},
"templates": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"time_to_first_customer_lease_ms": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"time_to_first_payable_ms": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"endpoint_id",
"state",
"wire",
"region",
"ask",
"capacity",
"templates",
"checks",
"reasons",
"reachable",
"next",
"phase_ms",
"placement",
"time_to_first_payable_ms",
"time_to_first_customer_lease_ms",
"payout"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. For someone who runs a machine, their own or a VPS rented elsewhere, and wants to sell its compute; to get a machine to use, call rent_create_sandbox instead. Takes a node out for good: it gets no new leases and its link is removed. A revoked node cannot come back; enrol the machine again for a new node. Revoking a revoked node answers it unchanged. A refusal carries `retryable`, `owner_action_required` and `next`; run `next.command` after `next.after_s` seconds, on a driver machine through npx and with its driver file, as rent_supply_guide says.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"node_id": {
"description": "Node id (`n` and 15 characters) from rent_supply_nodes, or from the node kit once a node is claimed.",
"minLength": 1,
"type": "string"
}
},
"required": [
"node_id"
],
"type": "object"
},
"name": "rent_supply_revoke_node",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"ask": {
"additionalProperties": false,
"properties": {
"cpu_usd_per_vcpu_hour": {
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
"memory_usd_per_gib_hour": {
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
}
},
"required": [
"cpu_usd_per_vcpu_hour",
"memory_usd_per_gib_hour"
],
"type": "object"
},
"capacity": {
"additionalProperties": false,
"properties": {
"slots": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"slots"
],
"type": "object"
},
"checks": {
"items": {
"additionalProperties": false,
"properties": {
"code": {
"enum": [
"os_linux",
"kvm_available",
"cgroup_v2",
"docker_version",
"docker_compose",
"outbound_443",
"outbound_7844",
"disk_free_gib",
"memory_gib",
"embed_ports_closed",
"clock_skew",
"bare_metal",
"no_unattended_upgrades",
"other_schedulers",
"link_up",
"gate_answers",
"key_proof",
"template_base",
"create",
"exec",
"shape_vcpu",
"shape_memory",
"cpu_bench",
"file_roundtrip",
"cold_start_ms",
"kill",
"kill_idempotent",
"no_orphans",
"data_plane",
"paid_path"
],
"type": "string"
},
"detail": {
"type": "string"
},
"doc_url": {
"type": "string"
},
"fix": {
"type": "string"
},
"source": {
"enum": [
"node",
"platform"
],
"type": "string"
},
"status": {
"enum": [
"pass",
"fail",
"warn",
"skip"
],
"type": "string"
}
},
"required": [
"code",
"status",
"source",
"detail",
"fix",
"doc_url"
],
"type": "object"
},
"type": "array"
},
"endpoint_id": {
"minLength": 1,
"type": "string"
},
"id": {
"pattern": "^n[0-9a-hjkmnp-tv-z]{15}$",
"type": "string"
},
"kit": {
"additionalProperties": false,
"properties": {
"image": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"min_version": {
"anyOf": [
{
"pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)(?:-([0-9A-Za-z.-]+))?$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"image",
"min_version"
],
"type": "object"
},
"next": {
"additionalProperties": false,
"properties": {
"action": {
"enum": [
"start_link",
"wait",
"fix_checks",
"upgrade",
"re_enroll",
"none"
],
"type": "string"
},
"after_s": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"command": {
"type": [
"string",
"null"
]
}
},
"required": [
"action",
"command",
"after_s"
],
"type": "object"
},
"payout": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-f]{40}$",
"type": "string"
},
"network": {
"anyOf": [
{
"pattern": "^eip155:[1-9][0-9]*$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"address",
"network"
],
"type": "object"
},
{
"type": "null"
}
]
},
"phase_ms": {
"additionalProperties": false,
"properties": {
"audit": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"claim": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"embed": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"link": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"preflight": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"probe": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"templates": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"placement": {
"additionalProperties": false,
"properties": {
"explorable": {
"type": "boolean"
},
"price_vs_list": {
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
]
},
"reason": {
"type": [
"string",
"null"
]
}
},
"required": [
"price_vs_list",
"explorable",
"reason"
],
"type": "object"
},
"reachable": {
"type": "boolean"
},
"reasons": {
"items": {
"enum": [
"os_linux",
"kvm_available",
"cgroup_v2",
"docker_version",
"docker_compose",
"outbound_443",
"outbound_7844",
"disk_free_gib",
"memory_gib",
"embed_ports_closed",
"clock_skew",
"link_up",
"gate_answers",
"key_proof",
"template_base",
"create",
"exec",
"shape_vcpu",
"shape_memory",
"cpu_bench",
"file_roundtrip",
"kill",
"kill_idempotent",
"no_orphans",
"data_plane",
"paid_path",
"stale_heartbeat",
"liveness_mismatch",
"provider_request"
],
"type": "string"
},
"type": "array"
},
"region": {
"type": "string"
},
"state": {
"enum": [
"linking",
"probing",
"probation",
"active",
"suspended",
"revoked"
],
"type": "string"
},
"templates": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"time_to_first_customer_lease_ms": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"time_to_first_payable_ms": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"endpoint_id",
"state",
"wire",
"region",
"ask",
"capacity",
"templates",
"checks",
"reasons",
"reachable",
"next",
"phase_ms",
"placement",
"time_to_first_payable_ms",
"time_to_first_customer_lease_ms",
"payout"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. For someone who runs a machine, their own or a VPS rented elsewhere, and wants to sell its compute; to get a machine to use, call rent_create_sandbox instead. Changes a node's ask, capacity, region or payout. A new ask applies to leases placed from now on; running leases keep their rates. More slots or a new region sends the node back to probing. `payout` is the USDC address this node is paid to from the next payout on; the node view shows it as `payout`, null while none is registered. Change it only when the user asks, with the address the user gave. Each node is paid once a day, in USDC, to the address registered on that node; a node without an address is not paid and its releasable earnings wait until one is registered. A payout cannot be reversed, and a payout made is never sent again to another address. Changing payout needs `signed_nonce`: a nonce from GET /v1/accounts/nonce, signed with your account's agent key over the message `rent.dev payout v2\\n<node_id>\\n<nonce>\\n<public_key>\\n<network>\\n<address>` (six lines joined by newlines, no newline at the end). `<address>` is `payout.address` in lowercase. `<network>` is `payout.network` when you send it, else the payout network: `payouts.network` in rent_supply_earnings (while that is null, send `payout.network` and sign over it). Sign over exactly the address and network you send; a proof for another node, address or network is refused with `payout_proof_required`, and so is the old four-line message. A refusal carries `retryable`, `owner_action_required` and `next`; run `next.command` after `next.after_s` seconds, on a driver machine through npx and with its driver file, as rent_supply_guide says.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"ask": {
"description": "USD per vCPU-hour and per GiB-hour, as decimal strings.",
"properties": {
"cpu_usd_per_vcpu_hour": {
"type": "string"
},
"memory_usd_per_gib_hour": {
"type": "string"
}
},
"required": [
"cpu_usd_per_vcpu_hour",
"memory_usd_per_gib_hour"
],
"type": "object"
},
"capacity": {
"properties": {
"slots": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"slots"
],
"type": "object"
},
"node_id": {
"description": "Node id (`n` and 15 characters) from rent_supply_nodes, or from the node kit once a node is claimed.",
"minLength": 1,
"type": "string"
},
"payout": {
"description": "Where this node's payouts go. Each node is paid once a day, in USDC, to the address registered on that node; a node without an address is not paid and its releasable earnings wait until one is registered. A payout cannot be reversed, and a payout made is never sent again to another address.",
"properties": {
"address": {
"description": "The USDC address payouts go to: 0x and 40 hex digits, lowercase or with a correct EIP-55 checksum, never the zero address.",
"type": "string"
},
"network": {
"description": "CAIP-2 network of the address, e.g. `eip155:8453`. Leave it out for the payout network; any other is refused.",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
},
"region": {
"description": "A generic label such as `us-central`.",
"minLength": 1,
"type": "string"
},
"signed_nonce": {
"description": "Required with `payout`.",
"properties": {
"nonce": {
"type": "string"
},
"public_key": {
"description": "Your agent key's public key.",
"type": "string"
},
"signature": {
"description": "Ed25519 over the payout message.",
"type": "string"
}
},
"required": [
"public_key",
"nonce",
"signature"
],
"type": "object"
}
},
"required": [
"node_id"
],
"type": "object"
},
"name": "rent_supply_update_node",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"ask": {
"additionalProperties": false,
"properties": {
"cpu_usd_per_vcpu_hour": {
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
"memory_usd_per_gib_hour": {
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
}
},
"required": [
"cpu_usd_per_vcpu_hour",
"memory_usd_per_gib_hour"
],
"type": "object"
},
"capacity": {
"additionalProperties": false,
"properties": {
"slots": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"slots"
],
"type": "object"
},
"checks": {
"items": {
"additionalProperties": false,
"properties": {
"code": {
"enum": [
"os_linux",
"kvm_available",
"cgroup_v2",
"docker_version",
"docker_compose",
"outbound_443",
"outbound_7844",
"disk_free_gib",
"memory_gib",
"embed_ports_closed",
"clock_skew",
"bare_metal",
"no_unattended_upgrades",
"other_schedulers",
"link_up",
"gate_answers",
"key_proof",
"template_base",
"create",
"exec",
"shape_vcpu",
"shape_memory",
"cpu_bench",
"file_roundtrip",
"cold_start_ms",
"kill",
"kill_idempotent",
"no_orphans",
"data_plane",
"paid_path"
],
"type": "string"
},
"detail": {
"type": "string"
},
"doc_url": {
"type": "string"
},
"fix": {
"type": "string"
},
"source": {
"enum": [
"node",
"platform"
],
"type": "string"
},
"status": {
"enum": [
"pass",
"fail",
"warn",
"skip"
],
"type": "string"
}
},
"required": [
"code",
"status",
"source",
"detail",
"fix",
"doc_url"
],
"type": "object"
},
"type": "array"
},
"endpoint_id": {
"minLength": 1,
"type": "string"
},
"id": {
"pattern": "^n[0-9a-hjkmnp-tv-z]{15}$",
"type": "string"
},
"kit": {
"additionalProperties": false,
"properties": {
"image": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
]
},
"min_version": {
"anyOf": [
{
"pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)(?:-([0-9A-Za-z.-]+))?$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"image",
"min_version"
],
"type": "object"
},
"next": {
"additionalProperties": false,
"properties": {
"action": {
"enum": [
"start_link",
"wait",
"fix_checks",
"upgrade",
"re_enroll",
"none"
],
"type": "string"
},
"after_s": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"command": {
"type": [
"string",
"null"
]
}
},
"required": [
"action",
"command",
"after_s"
],
"type": "object"
},
"payout": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-f]{40}$",
"type": "string"
},
"network": {
"anyOf": [
{
"pattern": "^eip155:[1-9][0-9]*$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"address",
"network"
],
"type": "object"
},
{
"type": "null"
}
]
},
"phase_ms": {
"additionalProperties": false,
"properties": {
"audit": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"claim": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"embed": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"link": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"preflight": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"probe": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"templates": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"placement": {
"additionalProperties": false,
"properties": {
"explorable": {
"type": "boolean"
},
"price_vs_list": {
"anyOf": [
{
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
]
},
"reason": {
"type": [
"string",
"null"
]
}
},
"required": [
"price_vs_list",
"explorable",
"reason"
],
"type": "object"
},
"reachable": {
"type": "boolean"
},
"reasons": {
"items": {
"enum": [
"os_linux",
"kvm_available",
"cgroup_v2",
"docker_version",
"docker_compose",
"outbound_443",
"outbound_7844",
"disk_free_gib",
"memory_gib",
"embed_ports_closed",
"clock_skew",
"link_up",
"gate_answers",
"key_proof",
"template_base",
"create",
"exec",
"shape_vcpu",
"shape_memory",
"cpu_bench",
"file_roundtrip",
"kill",
"kill_idempotent",
"no_orphans",
"data_plane",
"paid_path",
"stale_heartbeat",
"liveness_mismatch",
"provider_request"
],
"type": "string"
},
"type": "array"
},
"region": {
"type": "string"
},
"state": {
"enum": [
"linking",
"probing",
"probation",
"active",
"suspended",
"revoked"
],
"type": "string"
},
"templates": {
"items": {
"minLength": 1,
"type": "string"
},
"type": "array"
},
"time_to_first_customer_lease_ms": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"time_to_first_payable_ms": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"endpoint_id",
"state",
"wire",
"region",
"ask",
"capacity",
"templates",
"checks",
"reasons",
"reachable",
"next",
"phase_ms",
"placement",
"time_to_first_payable_ms",
"time_to_first_customer_lease_ms",
"payout"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Ends a GPU pod on RunPod, deleting its container disk, and stops RunPod's billing. Terminating an ended pod answers it unchanged.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"pod_id": {
"description": "GPU pod id (`lse_…`) from rent_create_gpu_pod or rent_list_gpu_pods; valid until the pod is terminated, and listed after with its final state.",
"minLength": 1,
"type": "string"
}
},
"required": [
"pod_id"
],
"type": "object"
},
"name": "rent_terminate_gpu_pod",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"billed_by": {
"const": "vendor",
"type": "string"
},
"cloud_type": {
"enum": [
"SECURE",
"COMMUNITY"
],
"type": "string"
},
"container_disk_gb": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cost_per_hour_usd": {
"anyOf": [
{
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"credential_id": {
"pattern": "^cred_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"gpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"gpu_type": {
"type": "string"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"image": {
"type": "string"
},
"name": {
"type": "string"
},
"pod_id": {
"type": [
"string",
"null"
]
},
"ports": {
"items": {
"type": "string"
},
"type": "array"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"volume_gb": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"pod_id",
"account_id",
"credential_id",
"name",
"state",
"gpu_type",
"gpu_count",
"image",
"cloud_type",
"container_disk_gb",
"volume_gb",
"ports",
"cost_per_hour_usd",
"billed_by",
"created_at",
"started_at",
"ended_at"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Ends a sandbox now, deleting its memory and files, and settles its charge. Terminating an ended sandbox answers it unchanged. The id keeps answering rent_get_sandbox.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sandbox_id": {
"description": "Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.",
"minLength": 1,
"type": "string"
}
},
"required": [
"sandbox_id"
],
"type": "object"
},
"name": "rent_terminate_sandbox",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"auto_pause": {
"type": "boolean"
},
"auto_resume": {
"type": "boolean"
},
"billed_by": {
"enum": [
"rent.dev",
"vendor"
],
"type": "string"
},
"captured_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"domain": {
"type": [
"string",
"null"
]
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"endpoint_id": {
"type": "string"
},
"held_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"memory_mb": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"region": {
"type": "string"
},
"sandbox_id": {
"type": [
"string",
"null"
]
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"supplier": {
"enum": [
"own",
"byok",
"partner"
],
"type": "string"
},
"template": {
"type": "string"
},
"timeout_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"vercel",
"runpod",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"sandbox_id",
"account_id",
"state",
"template",
"cpu_count",
"memory_mb",
"supplier",
"wire",
"endpoint_id",
"region",
"billed_by",
"metadata",
"auto_pause",
"auto_resume",
"created_at",
"started_at",
"timeout_at",
"ended_at",
"domain",
"captured_micros",
"held_micros"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. method \"card\": answers a pay link for a person (valid 24 hours; Stripe Checkout, no API key needed). On clients that take URL elicitation the link is shown to the person first, then the tool answers it. method \"x402\": charges USDC over MCP with x402. The first call answers isError with the PaymentRequired object (amount = credits + 5.5%; sign within its maxTimeoutSeconds, 120 s); retry the same call with the PaymentPayload in _meta[\"x402/payment\"]. The paid call settles, credits, and answers the SettleResponse in _meta[\"x402/payment-response\"]. The balance shows card payments once Stripe confirms them; check with rent_get_balance.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"amount_usd": {
"description": "Credits in USD, e.g. \"5.00\". Card links round up to the cent.",
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
"type": "string"
},
"method": {
"enum": [
"card",
"x402"
],
"type": "string"
}
},
"required": [
"method",
"amount_usd"
],
"type": "object"
},
"name": "rent_topup",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"amount_usd": {
"description": "Credits bought, in USD (fees come on top).",
"type": "string"
},
"checkout_url": {
"description": "Card pay link, no API key needed.",
"type": "string"
},
"elicitation": {
"description": "The person's answer to the pay-link prompt, on clients that showed it.",
"enum": [
"accept",
"decline",
"cancel"
],
"type": "string"
},
"expires_at": {
"description": "When checkout_url stops working (24 hours).",
"type": "string"
},
"method": {
"enum": [
"card",
"x402"
],
"type": "string"
},
"operation": {
"additionalProperties": false,
"properties": {
"done": {
"type": "boolean"
},
"error": {
"additionalProperties": false,
"properties": {
"balance_required_micros": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"code": {
"enum": [
"insufficient_balance",
"account_frozen",
"key_limit_reached",
"payment_required",
"payment_failed",
"unsupported_parameter",
"invalid_request",
"unauthenticated",
"forbidden",
"not_found",
"method_not_allowed",
"conflict",
"idempotency_in_flight",
"gone",
"idempotency_key_reused",
"rate_limited",
"signup_limit",
"internal_error",
"not_implemented",
"vendor_error",
"no_capacity",
"vendor_timeout",
"claim_invalid",
"claim_proof_invalid",
"checks_failed",
"node_exists",
"supply_link_unavailable",
"linking_limit",
"node_revoked",
"node_suspended",
"node_replay",
"probe_in_progress",
"payout_proof_required",
"agent_upgrade_required"
],
"type": "string"
},
"detail": {
"type": "string"
},
"docs_url": {
"format": "uri",
"type": "string"
},
"errors": {
"items": {
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"path",
"message"
],
"type": "object"
},
"type": "array"
},
"hold_id": {
"pattern": "^hold_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"instance": {
"type": "string"
},
"request_id": {
"type": "string"
},
"retry_after": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"status": {
"maximum": 599,
"minimum": 100,
"type": "integer"
},
"title": {
"type": "string"
},
"topup": {
"additionalProperties": false,
"properties": {
"checkout_url": {
"format": "uri",
"type": "string"
},
"x402_url": {
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"title",
"status",
"code"
],
"type": "object"
},
"metadata": {
"additionalProperties": false,
"properties": {
"create_time": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"kind": {
"enum": [
"create_sandbox",
"resume_sandbox",
"create_gpu_pod",
"settle_x402"
],
"type": "string"
},
"target": {
"type": [
"string",
"null"
]
},
"update_time": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
}
},
"required": [
"kind",
"target",
"create_time",
"update_time"
],
"type": "object"
},
"name": {
"pattern": "^operations\\/op_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"response": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"auto_pause": {
"type": "boolean"
},
"auto_resume": {
"type": "boolean"
},
"billed_by": {
"enum": [
"rent.dev",
"vendor"
],
"type": "string"
},
"captured_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"domain": {
"type": [
"string",
"null"
]
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"endpoint_id": {
"type": "string"
},
"held_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"memory_mb": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"region": {
"type": "string"
},
"sandbox_id": {
"type": [
"string",
"null"
]
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"supplier": {
"enum": [
"own",
"byok",
"partner"
],
"type": "string"
},
"template": {
"type": "string"
},
"timeout_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"wire": {
"enum": [
"e2b",
"vercel",
"runpod",
"rent"
],
"type": "string"
}
},
"required": [
"id",
"sandbox_id",
"account_id",
"state",
"template",
"cpu_count",
"memory_mb",
"supplier",
"wire",
"endpoint_id",
"region",
"billed_by",
"metadata",
"auto_pause",
"auto_resume",
"created_at",
"started_at",
"timeout_at",
"ended_at",
"domain",
"captured_micros",
"held_micros"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"billed_by": {
"const": "vendor",
"type": "string"
},
"cloud_type": {
"enum": [
"SECURE",
"COMMUNITY"
],
"type": "string"
},
"container_disk_gb": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"cost_per_hour_usd": {
"anyOf": [
{
"pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"credential_id": {
"pattern": "^cred_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"gpu_count": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
},
"gpu_type": {
"type": "string"
},
"id": {
"pattern": "^lse_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"image": {
"type": "string"
},
"name": {
"type": "string"
},
"pod_id": {
"type": [
"string",
"null"
]
},
"ports": {
"items": {
"type": "string"
},
"type": "array"
},
"started_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"enum": [
"requested",
"placing",
"running",
"paused",
"settling",
"terminated",
"failed"
],
"type": "string"
},
"volume_gb": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"pod_id",
"account_id",
"credential_id",
"name",
"state",
"gpu_type",
"gpu_count",
"image",
"cloud_type",
"container_disk_gb",
"volume_gb",
"ports",
"cost_per_hour_usd",
"billed_by",
"created_at",
"started_at",
"ended_at"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"api_key": {
"additionalProperties": false,
"properties": {
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"pattern": "^key_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"last_used_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": [
"string",
"null"
]
},
"prefix": {
"maxLength": 12,
"minLength": 12,
"type": "string"
},
"revoked_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"secret": {
"pattern": "^rent_sk_[0-9a-f]{64}$",
"type": "string"
},
"spend_limit_micros": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"spent_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"prefix",
"name",
"created_at",
"last_used_at",
"revoked_at",
"spend_limit_micros",
"spent_micros",
"secret"
],
"type": "object"
},
"network": {
"type": "string"
},
"payer": {
"type": "string"
},
"topup": {
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"credit_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"failure_reason": {
"type": [
"string",
"null"
]
},
"fee_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^top_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"kind": {
"enum": [
"checkout",
"auto_recharge",
"x402"
],
"type": "string"
},
"rail": {
"enum": [
"stripe",
"x402"
],
"type": "string"
},
"ref": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"pending",
"succeeded",
"failed"
],
"type": "string"
},
"tax_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"account_id",
"rail",
"kind",
"status",
"credit_micros",
"fee_micros",
"tax_micros",
"ref",
"failure_reason",
"created_at",
"completed_at"
],
"type": "object"
},
"transaction": {
"type": "string"
}
},
"required": [
"account_id",
"topup",
"network",
"payer",
"transaction"
],
"type": "object"
}
]
}
},
"required": [
"name",
"metadata",
"done"
],
"type": "object"
},
"operation_id": {
"type": "string"
},
"result": {
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"api_key": {
"additionalProperties": false,
"properties": {
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"id": {
"pattern": "^key_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"last_used_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": [
"string",
"null"
]
},
"prefix": {
"maxLength": 12,
"minLength": 12,
"type": "string"
},
"revoked_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"secret": {
"pattern": "^rent_sk_[0-9a-f]{64}$",
"type": "string"
},
"spend_limit_micros": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"spent_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"prefix",
"name",
"created_at",
"last_used_at",
"revoked_at",
"spend_limit_micros",
"spent_micros",
"secret"
],
"type": "object"
},
"network": {
"type": "string"
},
"payer": {
"type": "string"
},
"topup": {
"additionalProperties": false,
"properties": {
"account_id": {
"pattern": "^acc_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
"credit_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"failure_reason": {
"type": [
"string",
"null"
]
},
"fee_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^top_[0-9A-HJKMNP-TV-Z]{26}$",
"type": "string"
},
"kind": {
"enum": [
"checkout",
"auto_recharge",
"x402"
],
"type": "string"
},
"rail": {
"enum": [
"stripe",
"x402"
],
"type": "string"
},
"ref": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"pending",
"succeeded",
"failed"
],
"type": "string"
},
"tax_micros": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"account_id",
"rail",
"kind",
"status",
"credit_micros",
"fee_micros",
"tax_micros",
"ref",
"failure_reason",
"created_at",
"completed_at"
],
"type": "object"
},
"transaction": {
"type": "string"
}
},
"required": [
"account_id",
"topup",
"network",
"payer",
"transaction"
],
"type": "object"
},
"status": {
"description": "pay_link: a person pays at checkout_url. settled: credited. pending: poll operation_id with rent_get_operation.",
"enum": [
"pay_link",
"settled",
"pending"
],
"type": "string"
},
"x402_url": {
"description": "The same top-up over HTTP x402.",
"type": "string"
}
},
"required": [
"method",
"status",
"amount_usd"
],
"type": "object"
}
},
{
"description": "Needs a rent.dev account: sign in when your client offers it, or call rent_signup first. Writes a file in a running sandbox, creating parent directories and replacing what is there. `content` is UTF-8 text, or base64 with encoding base64.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"content": {
"type": "string"
},
"encoding": {
"default": "utf-8",
"enum": [
"utf-8",
"base64"
],
"type": "string"
},
"path": {
"minLength": 1,
"type": "string"
},
"sandbox_id": {
"description": "Sandbox id (`lse_…`) from rent_create_sandbox or rent_list_sandboxes. It names the sandbox for its whole life and keeps answering rent_get_sandbox, with the final state, after it ends.",
"minLength": 1,
"type": "string"
}
},
"required": [
"sandbox_id",
"path",
"content"
],
"type": "object"
},
"name": "rent_write_file",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"mode": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
{
"type": "null"
}
]
},
"modified_at": {
"anyOf": [
{
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"size": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"type": {
"enum": [
"file",
"dir",
"symlink"
],
"type": "string"
}
},
"required": [
"name",
"path",
"type",
"size",
"modified_at",
"mode"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:98b16d11dc21b89eab13fce71c45408c21d8369905ffeee07aae3c9ecec2c8f7 | sha256sum