All tools are read-only unless otherwise specified.
Every tool except get_projects requires a project, given as either its ID or its exact name. Application arguments accept an app name or UUID, and cluster arguments accept a cluster ID, exact name, or vanity name. Start with get_projects to resolve the project, then get_applications or get_clusters from there.
Projects & Discovery
Applications
Clusters & Infrastructure
These tools can modify or redeploy your applications and may have unintended
side effects. Review the agent’s plan before approving any call to
create_app, update_application, or redeploy_application.
create_app
Create a new application. The behavior depends on which inputs you pass:
Before using the recommended GitHub source and build flow, install the Porter GitHub App on the repository.
image is mutually exclusive with source and build. Creation fails if an application with the same name already exists in the target project or cluster. Use update_application instead.
For source and build, review and merge the pull request returned by create_app. The merge triggers the workflow that builds the application’s code and runs the first real deployment. See Deploy from a GitHub repository for the full flow.
update_application
Update an application’s configuration. Defaults to a dry run, which validates the change and returns the resulting config without deploying. Set dry_run: false to deploy.
redeploy_application
Trigger an immediate redeploy of an application.