query_obd2_pid
Send raw OBD2 requests with service and PID to retrieve response bytes for reading current data or diagnostic trouble codes.
Instructions
Send a raw OBD2 request and return the response bytes.
Args: service: OBD2 service number (e.g. 1 for current data, 3 for DTCs). pid: PID/subfunction number.
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": {
"service": "<service>",
"pid": "<pid>"
},
"name": "query_obd2_pid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | ||
| pid | Yes |