find_node
Search a Swift codebase knowledge graph for functions, classes, or protocols by name when the stable ID is unknown. Enter a name and optional kind filter to retrieve matching node details.
Instructions
Find graph nodes by name without knowing their full stable ID.
Case-insensitive match against name and qualname. Use when you know a function or class name from reading code and need its stable ID.
:param name: Function, type, or protocol name to search for. :param kind: Optional kind filter: module | class | struct | protocol | function | method | etc. :return: JSON array of matching node dicts.
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": {
"name": "<name>"
},
"name": "find_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| name | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |