submit_modal
Fill and submit a Discord bot form (modal) by mapping each input custom_id to text or select values; uses the recent modal by default when no ID is provided.
Instructions
Fill in and submit a bot form (modal). values maps each input custom_id to text (or a list for selects). Defaults to the most recent modal.
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": {
"values": "<values>"
},
"name": "submit_modal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | ||
| modal_id | No | ||
| wait_seconds | No |