# cin90 teach

Use the coderin90.com teaching tools from the terminal

Call a coderin90.com teaching tool and print its result as JSON.

Sign in first with `cin90 login --scope mcp`. `cin90 teach tools` lists the
tools the server offers, with the arguments each one takes.

--json takes the arguments as a JSON object, @file to read them from a file,
or - to read them from standard input. A call is never retried.

Exit status:
  0  success
  1  the tool reported an error, or the arguments were refused
  2  the server could not be reached, so nothing ran
  3  no usable teaching tools sign-in: none stored, the credentials file is
     unreadable or exposed, the configuration is invalid, or the server
     refused the sign-in
  4  the call was sent but its answer was lost: the tool may have run, so
     check before calling it again

## Usage

```
cin90 teach [tool] [flags]
cin90 teach [command]
```

## Examples

```
  cin90 teach tools
  cin90 teach get_roster --json '{"cohort": "my-class"}'
  cin90 teach get_roster --json @args.json
```

## Flags

```
  -h, --help          help for teach
      --json string   the tool's arguments: a JSON object, @file, or - for stdin
```

## Commands

- [cin90 teach tools](/docs/cin90_teach_tools/): List the teaching tools, their arguments and whether they change anything

## See also

- [cin90](/docs/cin90/)
