read_audits_and_monitors
Read monitors and audits. Monitors are scheduled checks: metrics, page_check and naming_convention on FA, AW or GAWA (GAWA: metrics only). An audit is a one-off review of one AW or FA account. The metric and dimension ids in action="schema" config_example are from field_discovery — never guess them. Operations: list (no arguments — your monitors); get (monitor_id — one monitor's details, including its editable configuration); schema (monitor_type and ds_id — the fields a monitor of that type accepts); audit (run_token from manage_audits_and_monitors(action='audit') — waits for the audit and returns its report). Omit action and it is inferred: run_token implies audit, monitor_id implies get, monitor_type implies schema, otherwise list.
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": "read_audits_and_monitors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ds_id | No | The data source ID. Used only by action='schema'. | |
| action | No | 'list' returns your monitors (takes no other arguments); 'get' returns one monitor's details (takes monitor_id); 'schema' returns the fields a monitor type accepts (takes monitor_type and ds_id); 'audit' waits for an audit run and returns its report (takes run_token). May be omitted: it is inferred from the other fields. | |
| run_token | No | The run_token from manage_audits_and_monitors(action='audit') or from the last pending audit response. Not a monitor run token. Used only by action='audit'. | |
| monitor_id | No | The monitor's ID, a UUID. Used only by action='get'. | |
| monitor_type | No | The kind of monitor. Used only by action='schema'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| notes | No | ||
| success | Yes | ||
| business_context | No |