seller_publish_document
Publish (or update) a document into the marketplace. The content is chunked + embedded + indexed by a background worker; status moves from pending to indexed once that completes. Re-publishing the same external_doc_id replaces the prior version. Account must be status='active' for the worker to index; pending_review accounts queue indefinitely.
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": {
"seller_api_key": "<seller_api_key>",
"external_doc_id": "<external_doc_id>",
"content": "<content>"
},
"name": "seller_publish_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| content | Yes | Document text. Up to ~2 MB. | |
| license | No | ||
| doc_type | No | ||
| metadata | No | ||
| source_url | No | ||
| seller_api_key | Yes | Your seller API key (aether_sk_…). | |
| external_doc_id | Yes | ||
| ticker_coverage | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | No | ||
| status | Yes | pending until the index worker completes | |
| document_id | Yes | ||
| published_at | No | ||
| external_doc_id | Yes |