modo_use_instance
Claims a Modo instance for the current chat and returns the token needed on later Modo calls, with an option to take over an instance already in use.
Instructions
Claim a Modo instance for this chat and get the token to pass as 'instance' on every further Modo call. Without pid/port it takes a free instance (Modo's main one first). An instance another chat uses is refused unless take_over=true -- ask the user before taking it over, the other chat may be in the middle of work. Give your current token as instance to switch: its claim is released.
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": "modo_use_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| port | No | ||
| instance | No | This chat's Modo instance token (modo-xxxxxx) from modo_use_instance or modo_launch_instance. Pass it on every call once you have one; leave empty only while a single chat works with Modo. | |
| take_over | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |