courses_variants_list
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Read actual active Course variants and Main identity before selecting, copying or editing one.
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>"
},
"name": "courses_variants_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| courseId | Yes |
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 | ||
| command | Yes |