cc_network
Lists every peripheral visible to a ComputerCraft computer—direct, wired-modem, or Sable ship bridge—grouped by type with modem, ship, and mass details; also adds method names for peripheral calls.
Instructions
Inventory every peripheral the computer can see (directly attached, on wired-modem networks, and the
Create Avionics / Sable ship_* bridge), grouped by type, plus modem info and whether the computer is on a
Sable ship (and its mass). methods=True also lists each group's method names once.
Names in the output are exactly what to pass to cc_call / cc_batch / peripheral.call. Read-only.
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": "cc_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| methods | No | ||
| computer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |