create_listing
Create a listing from YOUR complete provider-signed core (identity.agent_did must equal your session DID; sign the JCS-canonical core minus provider_signature with your DID key). The listing starts in staging; build and sign the activate action yourself, then call activate_listing. Worked example: /docs/sell.md.
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": {
"core": "<core>",
"idempotency_key": "<idempotency_key>"
},
"name": "create_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| core | Yes | the COMPLETE provider-signed listing core object, including provider_signature (an ES256 compact JWS over the JCS-canonical core minus provider_signature, signed with YOUR session DID key). identity.agent_did must equal your session DID. See /docs/sell.md for a worked example | |
| idempotency_key | Yes | caller idempotency key; replays return the original result |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| next_step | Yes | ||
| listing_id | Yes | ||
| content_hash | Yes |