Issue Media Quarantine Ticket
collab_issue_quarantine_ticketRegister a media digest, MIME type, byte size, and magic-byte header into nftcollab-media-vault quarantine prior to staging. Use this before collab_stage_5050_drop to bind verified media; do not use to check copy (collab_preflight_drop_safety) or stage drops (collab_stage_5050_drop). Parameters: filename extension must match mime_type with zero path separators; sample_header_b64 checks magic bytes (RIFF..WEBP, ftyp) and rejects script polyglots. Behavior: no auth, zero charge, 60 req/min/IP; deterministic qtk_* ID cached 7d in Redis bound to creator_wallet; HTTP 422 on bad MIME/wallet.
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>",
"mime_type": "<mime_type>",
"byte_size": "<byte_size>",
"sha256": "<sha256>",
"creator_wallet": "<creator_wallet>"
},
"name": "collab_issue_quarantine_ticket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | Yes | 64-character hex SHA-256 content digest of the media file. | |
| filename | Yes | Base media filename with matching safe extension (e.g. "cover01.png" or "master.flac"; no slashes or ..). | |
| byte_size | Yes | Total media file size in bytes (64 bytes up to 262,144,000 = 250 MB). | |
| mime_type | Yes | Declared safe media MIME type matching the filename extension and binary header. | |
| creator_wallet | Yes | 0x-prefixed 40-hex Base Mainnet (chain_id = 8453) EVM wallet address. | |
| sample_header_b64 | No | Optional base64-encoded first 16-64 bytes of the file to verify container magic bytes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the quarantine ticket was issued. | |
| quarantine_state | No | Quarantine lifecycle state (quarantined_pending_stage). | |
| quarantine_ticket_id | No | Issued quarantine ticket ID (qtk_<20 hex chars>) bound to creator_wallet and sha256. |