List Header Components
list_header_componentsList the header components defined at one level: 'spec' (needs specId) or 'project'. Set includeUsageCounts to see how often each is referenced — spec level only.
Instructions
List the header components defined at one level: 'spec' (needs specId) or 'project'. Set includeUsageCounts to see how often each is referenced — spec level only. Returns the ids and rowVersions needed to change them or assign them in a header policy. Requires project context. Use this for spec or project level; for the organization level use list_org_header_components.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"level": "<level>"
},
"name": "list_header_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Which level to read: 'spec' or 'project' | |
| specId | No | Public ID (GUID) of the API specification — required for level 'spec' | |
| versionId | No | Optional version ID (GUID) to filter by a specific version — spec level only | |
| includeUsageCounts | No | Also return how often each component is referenced — spec level only (default false) |