netsuite_get_departments
Retrieve NetSuite departments and cost centers with names, full names, and parent details. Supports pagination and filtering to active-only records.
Instructions
List NetSuite departments / cost centers with names, full names, and parent. Fetches pages and enriches each entry via the detail endpoint.
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": "netsuite_get_departments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max departments to return (default 50) | |
| offset | No | Pagination offset (default 0) | |
| activeOnly | No | If true, exclude inactive departments (default true) |