assistant_open
Open a private OpenTakeoff Assistant window so a user can chat from inside the canvas, returning a one-time pairing link and 6-letter code to connect and start listening.
Instructions
Open the OpenTakeoff Assistant window: the person can then talk to YOU from inside the OpenTakeoff canvas (opentakeoff.kentucky-ai.com) instead of only here. Starts a private link on 127.0.0.1 and returns a one-time pairing code and a link. Give the person the link (or the 6-letter code to type into the canvas's Assistant window), then call assistant_listen and keep calling it: each message they type arrives as its result; do the work with the other tools, answer with assistant_say, then listen again. Call it when the person asks for the OpenTakeoff assistant/window, or says "listen" after a pause.
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": "assistant_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | One-time pairing code the person types into the canvas's Assistant window (empty when already paired) | |
| link | Yes | Opens the canvas and pairs automatically — give this to the person | |
| next | Yes | What to tell the person, then what to call | |
| port | Yes | 127.0.0.1 port the window connects to | |
| powered_by | Yes | ||
| already_paired | Yes |