主办方:按链接上传一份活动资料
add_activity_material【需要登录·主办方】公网直链≤30MB抓取转私有存储,图片机审;大文件用/pro。SLIDES/FILE发布会向报名者播报,先确认文件名与可见性;默认PHOTO为PUBLIC,其余REGISTERED。list_activity_materials核对,改名/可见性update_activity_material。
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": {
"activityRef": "<activityRef>",
"sourceUrl": "<sourceUrl>",
"name": "<name>",
"kind": "<kind>"
},
"name": "add_activity_material"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | SLIDES 讲义 | FILE 其他文件 | PHOTO 现场照片 | |
| name | Yes | 资料名(报名者看到的名字) | |
| sourceUrl | Yes | 文件的公网直链(http/https) | |
| visibility | No | PUBLIC 人人可见 | REGISTERED 报名者可见 | |
| activityRef | Yes | 活动 slug 或 id(list_my_activities 的返回里都有) |