Copy or move a prompt
duplicate_or_move_promptCopy a prompt to another space, or move it (mode="move" removes it from the original space). Requires Member or Owner role in both spaces.
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": {
"prompt_id": "<prompt_id>",
"target_group_id": "<target_group_id>"
},
"name": "duplicate_or_move_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | copy | |
| new_title | No | ||
| prompt_id | Yes | ||
| target_group_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||