Set up Canvas Companion
setupConnect Canvas Companion to your school's Canvas account by choosing browser, token, or calendar feed sign-in, then confirm setup and link it to other AI apps.
Instructions
Sets up Canvas Companion on this computer. Use it when the student asks to set it up, to sign in again or to change school, or when another tool says it is not set up. Steps: (1) Call with no arguments to see what is already set up and what to do next. (2) Ask the student for their school's name, or the address they open Canvas at, and call with school. If several schools match, ask which one is theirs. (3) Ask how they want to connect, then call with school (the exact address from step 2) and method: "browser" (easiest; opens their school's normal sign-in window, and SSO and two-factor work); "token" (opens a private page on this computer where they paste a Canvas access token); "feed" (calendar feed: deadlines and events only). (4) When they say they are done, call with no arguments again to confirm, then answer their question. Never ask the student to type a password, token or feed link into the chat. Those go only into the windows this tool opens. Pass apps to also add Canvas Companion to other AI apps on this computer. Pass replace: true only when the student asked to switch to a different school or account.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apps | No | Also add Canvas Companion to these AI apps on this computer | |
| method | No | How to connect, once the school is known | |
| school | No | School name to search for, or the Canvas address (e.g. canvas.myschool.edu) | |
| replace | No | Switch away from a school or account that is already connected (only when the student asked) |