set_inputs
Set multiple input widget values in a Shiny app and wait for it to settle. Warns when an input differs from the requested value.
Instructions
Set one or more inputs, e.g. {"n": 5, "species": ["setosa"]}, through their widgets, then wait for the app to settle. Warns if an input ends up with a different value than asked for. Use click for buttons and upload_file for file inputs.
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": {
"app_id": "<app_id>",
"values": "<values>"
},
"name": "set_inputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | ||
| values | Yes | ||
| timeout_s | No |