Fetch Or Sync an Existing Application for Local Review
Use this pattern when you already have an application code and explicitly want local
server state before
editing.
Use AI Studio CLI read-only fetch/search commands to fetch the latest local artifact set for app `<APP_CODE>`.
Rules:
- Do not edit, deploy, or delete anything.
- Prefer CLI fetch and search commands.
- Prefer DRAFT status when it exists; otherwise use PUBLISHED.
- Do not invent missing schemas, examples, topics, deeplinks, approval processes, or payloads.
Discover where supported:
- App
- Direct workflow agents
- Nested workflow agents
- Actions
- Communications
- Templates
- BOs
- Deeplinks
- Topics
- Approval processes
- Tools, connectors, policies, document schemas, and functions referenced by the app or workflows
Validate all the local files once fetched.
Final report:
- Artifact inventory.
- Source used for each artifact.
- DRAFT/PUBLISHED status used.
- Missing artifacts or unsupported fetch gaps.
- Validation errors.
- Confirmation that no artifact was updated or deleted.