Get script config
get_scriptReads a Home Assistant script's stored configuration, entity state, and high-risk actions using its config or entity ID to inspect automation behavior before changes.
Instructions
Read the full stored configuration of one script through the Home Assistant config pipeline, together with its entity state and any high risk actions it contains. Accepts the config id or the entity id.
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": {
"script_id": "<script_id>"
},
"name": "get_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | Yes | The script config id or its entity id, for example 'script.example'. |