slop_bridge
Generates a compile-checked Python module that exposes a subprocess function for calling a selected port CLI and returning its stdout.
Instructions
Generate a Python module in the state folder that exposes a function calling the port CLI through subprocess and returning its stdout. The module is compile-checked.
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": {
"port": "<port>"
},
"name": "slop_bridge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port name, as listed by slop_ports (a folder under the ports root with __main__.py). |