ping
Check if Sonic Pi is running and discover its active port by verifying the boot log and Spider server port status. Safe to call anytime without sending OSC messages.
Instructions
Check whether Sonic Pi is running and which port it is on.
Reads the boot log and checks that the Spider server port is open. Does not send any OSC message -- safe to call at any time.
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": "ping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |