List Shared Component Usages
list_shared_component_usagesShow shared-library components linked to a spec and flag newer versions. Returns usage IDs for unlinking or accepting updates.
Instructions
List which shared-library components a spec links, including whether the library has a newer version than the spec is pinned to (hasUpdate). The usage ids returned here are what manage_shared_component_link needs for 'unlink' and 'accept_update'. 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": {
"specId": "<specId>"
},
"name": "list_shared_component_usages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | Public ID (GUID) of the API specification | |
| versionId | No | Optional version ID (GUID) to filter by a specific version |