Analyze Swift Types
analyze_swift_typesCategorizes analyzed Swift procedure names into classes, structs, enums, protocols, and extensions by decoding manglings or symbol aliases; optional category and case-sensitive pattern filters.
Instructions
Categorize analyzed Swift procedure names using their manglings or same-address Swift symbol aliases. Decodes legacy and literal modern nominal contexts into classes, structs, enums, protocols, and extensions. Preserves provider names and supporting mangled_names; unresolved categories appear in other and in unclassified, which remains inline even under category filters. Returns deduplicated procedure-name counts, not unique source types, plus identification limitations. Optionally select one category and/or apply a case-sensitive literal filter to provider names or supporting manglings; for example, use {category: "structs", pattern: "Pair"}.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pattern": "Account",
"category": "classes"
},
"name": "analyze_swift_types"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Case-sensitive literal filter applied to provider procedure names and their supporting Swift manglings. | |
| category | No | Limit categorized results to one Swift category; unresolved category observations remain in unclassified. |