Get Header Component
get_header_componentGet one header component with its schema details and rowVersion. Level 'spec' (needs specId) or 'project'. Set includeUsage to also list what references it — spec level only; do that before deleting one.
Instructions
Get one header component with its schema details and rowVersion. Level 'spec' (needs specId) or 'project'. Set includeUsage to also list what references it — spec level only; do that before deleting one. Use this for spec or project level; for the organization level use get_org_header_component. Requires project context.
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": {
"componentId": "<componentId>",
"level": "<level>"
},
"name": "get_header_component"
}
}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 narrow includeUsage to one version | |
| componentId | Yes | Public ID (GUID) of the header component | |
| includeUsage | No | Also list what references this component — spec level only (default false) |