getTemplates
List contract templates. Omit locationRef to list templates across all locations, or provide it to scope to one location. Call getLocations to list locations, or getLocation to fetch one by locationId.
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": "getTemplates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of templates per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. | |
| locationRef | No | UUID of the location whose templates to list. Omit to list templates across every location of the network. | |
| nextPageToken | No | Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templates | Yes | ||
| nextPageToken | No | Pass it back as nextPageToken, with the same filters, to get the next page. Absent on the last page. |