Tools reference

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

ToolScopePurpose
list_projectsprojects.readList accessible P2HS projects.
get_projectprojects.readInspect one accessible project.
list_buildsprojects.readList build statuses for a project.
get_buildprojects.readRead a build result and preview.
estimate_buildprojects.readEstimate 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