list_template_groups
List template groups in a FortiManager ADOM to view device-assignment packages and check count versus total when limiting results.
Instructions
List template groups in an ADOM.
Template groups combine multiple templates (system, CLI, SD-WAN, etc.) into a single package for device assignment.
Args: adom: ADOM name (default: from DEFAULT_ADOM env var, or "root") limit: Maximum number to return (default: 100, minimum: 1)
Returns:
List of template groups. 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_template_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||