mcp_sensor_config
Configure a named sensor on an agent to run a script and use its output as the reading. Set remove=true to delete the sensor.
Instructions
Configure a named sensor on agent. A sensor runs a script and its output is the reading. script is " [args...]": a bare filename in the agent's scripts/ folder (no paths - that folder is the only allowed location), with letters/digits-only arguments. On a Raspberry Pi it is a shell script run with sh; on a Pico a .py file the agent execs in-process. Pass remove=true to delete the sensor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| agent | Yes | ||
| remove | No | ||
| script | No |