Create a baton — a prepaid storage object. Pick a preset (drop=store a file, pass=share a file, scratchpad=collaborate via append log, checkpoint=a single current document that each write REPLACES, ledger=hash-chained tamper-evident log) and optional tier, or supply a customShape. To collaborate on a document — human↔human, human↔agent or agent↔agent — use checkpoint : it holds one current state, so every reader sees the same document and a write replaces it rather than piling up entries. scratchpad is an append log: good for a running buffer two agents both add to, but readers of a scratchpad
Показать схему аргументов
{
"type": "object",
"oneOf": [
{
"properties": {
"tier": {
"enum": [
"femto",
"pico",
"nano",
"micro",
"standard",
"big",
"custom"
],
"type": "string"
},
"preset": {
"const": "drop"
}
}
},
{
"properties": {
"tier": {
"enum": [
"femto",
"pico",
"nano",
"custom"
],
"type": "string"
},
"preset": {
"const": "pass"
}
}
},
{
"properties": {
"tier": {
"enum": [
"pico",
"nano",
"micro",
"standard",
"big",
"custom"
],
"type": "string"
},
"preset": {
"const": "scratchpad"
}
}
},
{
"properties": {
"tier": {
"enum": [
"nano",
"micro",
"standard",
"big",
"custom"
],
"type": "string"
},
"preset": {
"const": "checkpoint"
}
}
},
{
"properties": {
"tier": {
"enum": [
"femto",
"pico",
"nano",
"micro",
"standard",
"big",
"custom"
],
"type": "string"
},
"preset": {
"const": "ledger"
}
}
}
],
"required": [
"preset"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"tier": {
"type": "string",
"description": "Bundle tier — valid tiers depend on preset (drop: femto/pico/nano/micro/standard/big · pass: femto/pico/nano · scratchpad: pico/nano/micro/standard/big · checkpoint: nano/micro/standard/big · ledger: femto/pico/nano/micro/standard/big). Plus 'custom' (with customShape) for any preset."
},
"flags": {
"type": "object",
"properties": {
"witness": {
"type": "boolean"
},
"hashChaining": {
"type": "boolean"
}
}
},
"preset": {
"enum": [
"drop",
"pass",
"scratchpad",
"checkpoint",
"ledger"
],
"type": "string"
},
"content": {
"type": "string"
},
"contentType": {
"type": "string"
},
"customShape": {
"type": "object",
"properties": {
"sizeBytes": {
"type": "string"
},
"readsAllowed": {
"type": "integer",
"minimum": 0
},
"writesAllowed": {
"type": "integer",
"minimum": 0
},
"maxEgressBytes": {
"type": "string"
},
"durationSeconds": {
"type": "string"
}
}
},
"description": {
"type": "string",
"maxLength": 1000
},
"contentEncoding": {
"enum": [
"utf-8",
"base64",
"binary"
],
"type": "string"
}
}
}