courses_duplicate
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Duplicate the actual Course through the existing app service and return the new resource identity. Does not publish it.
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": {
"siteId": "<siteId>",
"courseId": "<courseId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "courses_duplicate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| courseId | Yes | ||
| idempotencyKey | Yes | Required unique request key for safe retries, for example client-action-2026-07-20-001. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | Existing Course service fields are preserved. Resource creation/variant changes return actual resource plus canonical course identity; selected reads return course/revision. Payload writes return the committed payload/revision; do not reuse a different variant's revision. Publish returns actual publicUrl and committed revision; advisory status/checks alone do not publish. Field availability follows this exact operation. | |
| scope | Yes | ||
| auditId | No | ||
| command | Yes |