list_scripts
Lists CLI scripts in a FortiManager ADOM. Use filters for script type and target, and set a limit to review available scripts.
Instructions
List CLI scripts in an ADOM.
Args: adom: ADOM name (default: from DEFAULT_ADOM env var, or "root") script_type: Filter by type (cli, tcl, cligrp, tclgrp, jinja) target: Filter by target (device_database, remote_device, adom_database) limit: Maximum number of scripts to return (default: 100, minimum: 1)
Returns:
List of scripts with name, type, target, and description. count
is the number returned and total the number before limit: if
total is larger the list was cut, raise limit for the rest.
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 |
|---|---|---|---|
| adom | No | ||
| limit | No | ||
| target | No | ||
| script_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||