osirAppGetSource
osirAppGetSource: Get a deployed Osir app's current source, to make edits without the user re-attaching the project. With inline=true it returns the files themselves: patch them and call osirAppDeploy with ALL the files under the SAME name; the platform rebuilds and, for owned-tier apps, auto-ships the new version to the user's box. If the result says truncated=true the files are only PART of the app - do NOT redeploy from them. Without inline it returns only a short-lived signed zip URL (getUrl), useful only to a client with a shell. Requires authentication.
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": {
"appName": "<appName>"
},
"name": "osirAppGetSource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inline | No | true (recommended): return the files themselves (up to 300 files / 2 MiB). false/omitted: only a signed zip URL. | |
| appName | Yes | The deployed app's name, as shown by osirAppList. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. |