Get Code Signature
get_code_signatureInspect Python AST signatures, public methods, and docstrings for MyHOME or OWNd classes and modules. Get a clear overview of the code structure to build automations or debug components.
Instructions
Inspect Python AST signatures, public methods, and docstrings from custom_components/myhome or OWNd.
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": {
"symbol": "<symbol>"
},
"name": "get_code_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Class or module name (e.g. 'MyHOMELight', 'MyHOMECover', 'MyHOMEClimate', 'OWNMessage'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |