workspace_list_files
List the files in a source repository via an ephemeral AI workspace on the organisation's staging cluster. Shallow-clones the repo and returns the tracked file paths (bounded). Safe in ask mode: the sandbox job is throwaway and cannot modify existing infrastructure. Requires a configured staging cluster plus either application_id or repository ('owner/name' - an Application-linked repository or one of the cluster's tagged context repositories). Optional 'path' lists a subdirectory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional subdirectory (relative to the repo root) to list. | |
| branch | No | Optional branch to clone. Defaults to the context tag's branch, the Application's configured branch, or the repository's default branch. | |
| repository | No | Repository to clone in 'owner/name' form. Must be an Application-linked repository or one of the cluster's tagged context repositories; anything else is rejected with the allowed list. | |
| application_id | No | The Application whose linked repository to clone and list. Provide this or 'repository'. |