courses_context_get
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Read actual Course payload/outline and selected variant revision. Use path/offset/limit to inspect large fields; partial selections are not replacement payloads. Read builder_options.get for schemas.
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>",
"offset": "<offset>"
},
"name": "courses_context_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| limit | No | ||
| offset | Yes | ||
| siteId | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| courseId | Yes | ||
| variantId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | Small drafts include complete payload. Large drafts return a paged module outline; use path (JSON Pointer), offset and limit to inspect nested fields. Arrays paginate by item and text by character. A selection can omit an oversized value and list deeper fields instead. Follow nextOffset or a deeper path; partial selection/outline is never a replacement document. Use payload.patch with the same revision to retain unseen content. | |
| scope | Yes | ||
| command | Yes |