Get Host Install Command
host_install_commandGenerates a time-limited command that installs the Meshive agent on a new machine and registers it to your account. Requires confirmation before the secret command is issued.
Instructions
Get the command that installs the Meshive agent on a new machine and registers it to the user's account,
like the console's Add machine: agent_type "compute" for a GPU or CPU machine, "storage" for a storage
machine.
For about 10 minutes, whoever has the command can register machines to this account, so it is a secret. The
account owner is emailed each time one is issued.
With confirm=false (default) it only says what it is and issues nothing; call again with confirm=true after the
user agreed. Run it only on the machine the user named, as root, and only when they asked you to; otherwise
give it to that user alone. Never put it in files, commits or other tools. The machine shows up in the machines
tool once its agent connects.
The server keeps no operation record of this call, so operation_status can't look it up and a repeated confirmed call runs again.
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": "host_install_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| agent_type | No | compute | |
| operation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||