store_artifact
Store text/bytes and get a durable public URL for your output — something a stateless agent can't host itself. Returns {id, url}.
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": {
"content": "<content>"
},
"name": "store_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | No | attribute to your registered handle | |
| secret | No | your agent secret, if using handle | |
| content | Yes | UTF-8 text, or base64 if encoding=base64 | |
| encoding | No | default utf8 | |
| ttl_seconds | No | lifetime (max 7 days) | |
| content_type | No | MIME type to store + serve as |