Monitor programs: check
The Monitor Verbs check as MCP do programs, with inputs, result, refusals and an example.
Reference for Monitor, one group of Monitor programs.
Monitor.check
Check runs a Monitor once now from several regions and records the result as an Event. Verb page.
do: return await $.Monitor.check(input)Emits Monitor.checked.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
monitor | Monitor | required | The Monitor to run. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
monitor | Monitor | required | The Monitor, with its latest result. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
{
"name": "do",
"arguments": {
"code": "return await $.Monitor.check({ monitor: 'monitor_8Ed0ESvvRl' })"
}
}