inspiration_collect
Collect or remove an inspiration from the current account's favorites, then re-check its status to confirm the change took effect.
Instructions
收藏或取消收藏一个灵感(写入当前登录账号,与灵感详情页的收藏按钮相同),之后重新查询收藏状态确认生效。
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": {
"inspiration_id": "<inspiration_id>"
},
"name": "inspiration_collect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collect | No | true 收藏(默认),false 取消收藏。 | |
| instance_id | No | 官方 list_instances 返回的 instance_id,与 project_path 二选一。 | |
| project_path | No | 目标工程的绝对路径。与 instance_id 二选一;只开了一个工程窗口时都可省略。 | |
| inspiration_id | Yes | 要收藏的 inspiration_id。 |