Set the auth mode
twin_set_authConfigure whether the twin accepts any bearer token or only unexpired OAuth tokens; returns the active auth mode without modifying records.
Instructions
How the vendor APIs treat bearer tokens: "any-token" accepts anything; "oauth" accepts only unexpired tokens from the twin's OAuth endpoints. Changes no records. Answers with the mode.
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": {
"mode": "<mode>"
},
"name": "twin_set_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | The new auth mode |