set_course_policy
Determine whether a course should be watched by setting its state to watch, ignore, or pending, and resolve pending courses with a durable policy decision.
Instructions
Decide whether a course is watched. Use this to answer a pending course.
state is watch, ignore or pending. A decision made with a by other than
policy is never overwritten by a policy rule afterwards, so the user's
answer sticks.
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": {
"course_id": "<course_id>",
"state": "<state>",
"by": "<by>"
},
"name": "set_course_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| state | Yes | ||
| reason | No | ||
| course_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |