adaptix_agent_link
Links a parent agent to a child pivot beacon over SMB or TCP, sends the link command, then verifies the child through an agent list diff and returns the confirmed record.
Instructions
Link a parent agent to a child pivot beacon (Adaptix linked agents). Builds link smb <target> <pipename> or link tcp <target> <port>, sends it on the raw endpoint, then verifies against a before/after /agent/list diff (falling back to the parent task message [<parent>]===[<child>]) and returns verified, detected_by and the child record. A linked child receives its commands THROUGH the parent, so it renders chained in the Sessions Graph rather than as a relay edge: prefer it over rportfwd, which dies when the parent beacon restarts and carries only the registration exchange. Note that a linked child's a_last_tick stays at its registration time — liveness is proven with a command plus adaptix_task_list, not with the tick.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>",
"link_type": "<link_type>",
"target": "<target>"
},
"name": "adaptix_agent_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Port, required for link_type=tcp. | |
| target | Yes | Child beacon host (IP or hostname) that hosts the pipe/port. | |
| agent_id | Yes | Agent id from adaptix_agent_list. | |
| pipename | No | Pipe name, required for link_type=smb. | |
| link_type | Yes | smb for a BeaconSMB child (named pipe), tcp for a BeaconTCP child. |