Tools for projects, builds and credits
The gateway discovers capabilities from Core for every request. A tool appears only when the current grant allows it.
Project and build context
| Tool | Scope | Purpose |
|---|---|---|
| list_projects | projects.read | List accessible P2HS projects. |
| get_project | projects.read | Inspect one accessible project. |
| list_builds | projects.read | List build statuses for a project. |
| get_build | projects.read | Read a build result and preview. |
| estimate_build | projects.read | Estimate credits before execution. |
Mutations
create_project
Scope: projects.create
Create a project when the grant permits it.
start_build
Scope: builds.run
Submit an authorized build with a prompt and optional attachments.
get_operation
Mutation grant
Poll a durable operation after a mutation.
Credits
list_credit_packages
Scope: billing.read
create_credit_checkout
Scope: credits.checkout
purchase_credits
Scope: credits.purchase
Need the connection details?
Review OAuth, project-scoped grants and safe retry behavior before you call a mutation.
Read connection guide