Get app context
get_app_contextReturns the complete currently published source of an existing app, by the app_id in the person's message: every authored file, the live declared schema, published compact context, and this editor's checkpoint. An app too large for one reply comes in parts, which note names. Ground-truth files and schema win if compact context disagrees. Reserved apps return version 0 with no files. Failed apps return the last live version when one exists and a plain problem. Open reviewer comments come back word for word, with ids. Stored records are intentionally not returned. For source-backed data, it returns the recipe digest, the collection and field projection, and whether the owner keeps a copy, and never returns rows or recipe material. A change is a publish of only the changed files against the returned version, as base_version, with the complete schema and a new work_context. version reads a past version instead of the live one: publishing its files against the version now serving puts a bad publish back.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_app_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | selected paths from the returned manifest, or none for every file one reply holds | |
| app_id | No | the app to continue working on, from the person's message or list_apps | |
| to_line | No | the last line returned of each file | |
| version | No | a past version to read instead of the live one; omit for what is published now | |
| from_line | No | the first line returned of each file, from 1. A line too long for one reply counts as several |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| note | No | plain sentences about this result, such as a file read in parts or brand and source guidance. When set, the same text as the text blocks before the result JSON, joined by blank lines | |
| files | Yes | the authored bundle of the version read, each file whole unless complete is false, and note names any part or file left out. For the live version, version is the base_version of the next change. A past version's files, published against the version now serving, not this number, put that version back | |
| assets | No | binary files this version serves, by path, size, hash and type; never their bytes. A publish naming one in assets with a new hash changes it | |
| intent | No | ||
| schema | No | the complete live declared data shape; publish takes it whole, unchanged or added to | |
| status | Yes | ||
| problem | No | ||
| version | Yes | ||
| manifest | No | ||
| checkpoint | No | ||
| data_publication | No | ||
| published_context | No |