views_push
Push a modal view onto an existing view stack by exchanging a trigger ID with a view payload, enabling multi-step workflows within Slack modals.
Instructions
Push a view onto the stack of a root view.
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": {
"trigger_id": "<trigger_id>",
"view": "<view>"
},
"name": "views_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | A view payload object (of type ``modal``) to push onto the existing view stack. | |
| trigger_id | Yes | Exchange a trigger to post to the user (e.g. ``12345.98765.abcd2358fdea``). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||