publish_campaign
Publish a pricing campaign to the DPYC community. Commits a machine-importable JSON and a Markdown summary to the campaigns directory for public access.
Instructions
Publish a pricing campaign to the DPYC community.
Commits both a machine-importable JSON file and a human-readable Markdown summary to the dpyc-community campaigns directory.
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": {
"author_npub": "<author_npub>",
"operator_npub": "<operator_npub>",
"campaign_json": "<campaign_json>"
},
"name": "publish_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| author_npub | Yes | The npub of the person who designed the campaign. | |
| campaign_json | Yes | The full campaign export as a JSON string. | |
| campaign_name | No | Optional display name. Derived from JSON if omitted. | |
| operator_npub | Yes | The npub of the operator the campaign is for. | |
| campaign_markdown | No | Optional pre-rendered Markdown. If omitted, the Oracle generates a basic summary from the JSON. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||