list_scripts
List stored MikroTik RouterOS scripts with owner, policy, run count, and last start; filter by device or name and optionally include source for auditing.
Instructions
Lists the stored scripts: owner, policy, run count and last start.
Notes:
include_source=False (the default) omits the script body, because
bodies routinely hold credentials in clear text. Set it to True only
when you intend to read the code; the output is redacted either way,
but redaction is pattern-based and is not a guarantee.
`policy` is what the script may do when it runs, which can exceed what
the user who scheduled it may do interactively.
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": "list_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| name_filter | No | ||
| include_source | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |