dialog_policy
Set automatic responses for browser dialogs by defining a session default or adding text-match rules for future dialogs. Already-seen dialogs stay recorded and are not affected.
Instructions
Answer dialogs from now on. match=None sets the session default; with a match, adds a rule for dialogs whose text contains it (an earlier rule with the same text is replaced). Applies to future dialogs only; dialogs already seen stay recorded.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dialog_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | No | ||
| action | No | accept |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |