nukez_create_file
Create a file entry and get upload_url + confirm_url for direct upload. The client PUTs raw bytes directly to the upload_url (307-redirects to GCS), then calls nukez_confirm to finalize. Bytes never transit the MCP server. Use this for large files from local/external sources against Cloud Run. For small inline content (<4KB), use nukez_store with data_b64 instead. KEYLESS (hosted) SERVER: this server holds no signing key. A call without envelope returns action_required='sign_envelopes' with the exact spec to sign (method, path, ops, body); sign it with your wallet and re-call with envelope=. One file per call in envelope mode.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filename": "<filename>"
},
"name": "nukez_create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envelope | No | ||
| filename | Yes | ||
| receipt_id | No | ||
| content_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |