办活动:发布草稿
publish_activity_draft【需要登录·对外发布】公开标题/时间/地点/署名/介绍/报名表,立即上线后审;须用户确认发布。get_activity_draft(missing空)→本工具传刚读version→需要邀请函render_activity_letter。确认后草稿变更409 compose_version_stale,须重读重展示,禁旧版重试;缺项422 missing。资格不足按exits去App补需验证码的主办资料,Agent不能代填。
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": {
"composeId": "<composeId>",
"version": "<version>"
},
"name": "publish_activity_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | 读到的那一版的 version(乐观锁:别人改过就 409,重新读再改) | |
| composeId | Yes | 草稿 id(import_activity_draft / list_activity_drafts 的返回里都有) |