find_attribute_usages
Locate all types and members decorated with a given attribute (e.g., Obsolete, Authorize). Returns itemized results, total count, and per-project summary to simplify impact analysis.
Instructions
Find all types and members decorated with a specific attribute (e.g., Obsolete, Authorize, Serializable). Returns an envelope with items, totalCount, truncated, limit, and a byProject summary.
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": {
"attribute": "<attribute>"
},
"name": "find_attribute_usages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return (default: 500). Items are sorted by file, then line. | |
| attribute | Yes | Attribute name to search for (with or without 'Attribute' suffix) |