Get AM Script
getAMScriptRetrieve a complete AM script by realm and script ID, including name, description, language, and source code.
Instructions
Retrieve an AM script by its ID. Returns the complete script including name, description, language, and source code.
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": {
"realm": "<realm>",
"scriptId": "<scriptId>"
},
"name": "getAMScript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | The realm containing the script | |
| scriptId | Yes | The unique identifier of the script (UUID format, e.g., '01e1a3c0-038b-4c16-956a-6c9d89328cff') |