zip
PCC zip. POST /v1/zip. Packs files into a .pcc archive. Same door as spl_zip and POST /api/archive.
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": {
"files": "<files>"
},
"name": "zip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files: path, data_b64, dir. | |
| api_key | No | Bearer key or raw key when the door requires a tool credential. | |
| payment | No | x402 X-PAYMENT. Omit it and a paid door answers 402. | |
| authorization | No | Authorization header when the door is a Tollkeeper tool (Bearer ar_…). |