关闭标签页
tab_closeClose a specific browser tab by ID, or the most recent tab if no ID is given. Keep a target tab and close all others with the others option.
Instructions
关闭标签页,省略 tab_id 时关闭最新标签页;others=True 时保留该标签页关闭其余。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| others | No | 关闭除目标之外的所有标签页 | |
| tab_id | No | 标签页 id,省略时用最新标签页 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| message | Yes |