# Mutations

| Field                               | Description                                                                                                                                                                                                                                                                                                                                                            |
| ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `_empty`                            |                                                                                                                                                                                                                                                                                                                                                                        |
| `createAccount`                     | Create a team account that the caller owns.                                                                                                                                                                                                                                                                                                                            |
| `updateAccount`                     | Change an account's name or slug. Requires account.settings.manage.                                                                                                                                                                                                                                                                                                    |
| `updateAccountMember`               | Change an account member's role. Requires account.members.manage.                                                                                                                                                                                                                                                                                                      |
| `deleteAccountMember`               | Remove a member from the account, or leave it yourself; removing another member requires account.members.manage. Requires account.read; API keys also need delete scope.                                                                                                                                                                                               |
| `createAccountInvitation`           | Create account invitation. Requires account.invitations.manage.                                                                                                                                                                                                                                                                                                        |
| `deleteAccountInvitation`           | Delete account invitation. Requires account.invitations.manage; API keys also need delete scope.                                                                                                                                                                                                                                                                       |
| `acceptAccountInvitation`           | Accept account invitation.                                                                                                                                                                                                                                                                                                                                             |
| `createAccountProject`              | Create account project. Requires account.projects.create.                                                                                                                                                                                                                                                                                                              |
| `appendRunEvents`                   | Append run events.                                                                                                                                                                                                                                                                                                                                                     |
| `createRunInputRequest`             | Create an input request.                                                                                                                                                                                                                                                                                                                                               |
| `createInputResponse`               | Respond to input request.                                                                                                                                                                                                                                                                                                                                              |
| `cancelInputRequest`                | Cancel an input request.                                                                                                                                                                                                                                                                                                                                               |
| `createRun`                         | Create a run.                                                                                                                                                                                                                                                                                                                                                          |
| `cancelRun`                         | Cancel a run.                                                                                                                                                                                                                                                                                                                                                          |
| `pauseRun`                          | Pause a run. Requires project.runs.write.                                                                                                                                                                                                                                                                                                                              |
| `resumeRun`                         | Resume a run. Requires project.runs.write.                                                                                                                                                                                                                                                                                                                             |
| `finalizeRun`                       | Finalize a run.                                                                                                                                                                                                                                                                                                                                                        |
| `succeedRun`                        | Succeed a run.                                                                                                                                                                                                                                                                                                                                                         |
| `failRun`                           | Fail a run.                                                                                                                                                                                                                                                                                                                                                            |
| `updateRun`                         | Update a run. Requires project.runs.write.                                                                                                                                                                                                                                                                                                                             |
| `deleteRun`                         | Delete a run. Requires project.runs.admin; API keys also need delete scope.                                                                                                                                                                                                                                                                                            |
| `createRunHeartbeat`                | Renew the execution lease of the current run generation.                                                                                                                                                                                                                                                                                                               |
| `createRunEventToken`               | Issue a nondelegating event-writer credential for a direct child run.                                                                                                                                                                                                                                                                                                  |
| `createScheduledRun`                | Run a schedule now. Requires project.runs.write.                                                                                                                                                                                                                                                                                                                       |
| `patchInferencePolicy`              | Update the models a project allows and denies and its default model, replacing each key sent; returns the policy. Requires project.settings.manage.                                                                                                                                                                                                                    |
| `deleteInferencePolicy`             | Remove the stored inference policy of a project so it is served the defaults again; returns an acknowledgement. Requires project.settings.manage.                                                                                                                                                                                                                      |
| `updateAccountInferencePolicy`      | Update the models an account allows and denies and its default model, replacing each key sent; returns the policy. Requires account.settings.manage.                                                                                                                                                                                                                   |
| `deleteAccountInferencePolicy`      | Remove the model policy of an account, so its projects may use every model again; returns an acknowledgement. Requires account.settings.manage.                                                                                                                                                                                                                        |
| `createCreditCheckout`              | Start a Stripe checkout to buy a credit package for an account, or for the account that owns a project; returns the checkout URL. Requires account.billing.manage.                                                                                                                                                                                                     |
| `redeemCreditCoupon`                | Redeem a coupon code for credits on an account; returns the credits granted and the new balance, or already\_redeemed for a code the account used before. Requires account.billing.manage.                                                                                                                                                                             |
| `updateBillingDetails`              | Change the name, email, phone or address on the invoices of an account, where an omitted field keeps its value and null clears it; returns the updated billing details. Requires account.billing.manage.                                                                                                                                                               |
| `createBudget`                      | Create a monthly AI spending limit for a project, a member on a project, an API key, or a combination of these.                                                                                                                                                                                                                                                        |
| `updateBudget`                      | Change the monthly limit of a budget, keeping its scope and this month’s usage.                                                                                                                                                                                                                                                                                        |
| `deleteBudget`                      | Delete budget.                                                                                                                                                                                                                                                                                                                                                         |
| `createApiKey`                      | Create an API key and return its secret once.                                                                                                                                                                                                                                                                                                                          |
| `updateApiKey`                      | Change an API key's name or expiry.                                                                                                                                                                                                                                                                                                                                    |
| `deleteApiKey`                      | Revoke an API key so that it can no longer authenticate; the key stays listed with status revoked.                                                                                                                                                                                                                                                                     |
| `updateAgentPushRuntimeService`     | Drain or resume a runtime service.                                                                                                                                                                                                                                                                                                                                     |
| `createBranch`                      | Create a branch from the project root or from another branch, snapshotting its files. Requires project.files.write.                                                                                                                                                                                                                                                    |
| `deleteBranch`                      | Delete a branch and its uncommitted changes. Requires project.files.write; API keys also need delete scope.                                                                                                                                                                                                                                                            |
| `mergeBranch`                       | Merge a branch into main or another branch, applying its file changes, deletions and the merge message to the target. Requires project.files.write.                                                                                                                                                                                                                    |
| `createBranchPolicy`                | Create a merge policy for branches matching a pattern. Requires project.settings.manage.                                                                                                                                                                                                                                                                               |
| `deleteBranchPolicy`                | Delete a branch policy so it no longer blocks merges. Requires project.settings.manage; API keys also need delete scope.                                                                                                                                                                                                                                               |
| `createBranchApproval`              | Approve a branch as the calling user, optionally with a comment. Requires project.files.write.                                                                                                                                                                                                                                                                         |
| `dismissBranchApproval`             | Dismiss an approval so it no longer counts, keeping its record with the reason. Requires project.files.write; API keys also need delete scope.                                                                                                                                                                                                                         |
| `updateBranchStatusCheck`           | Create or replace one named status check on a branch. Requires project.files.write.                                                                                                                                                                                                                                                                                    |
| `writeCacheEntry`                   | Create or replace one cache entry, as REST PUT /projects/{project\_reference}/cache/entries/{key}. Requires project.cache.write.                                                                                                                                                                                                                                       |
| `deleteCacheEntry`                  | Delete one cache entry, as REST DELETE /projects/{project\_reference}/cache/entries/{key}. Requires project.cache.write; API keys also need delete scope.                                                                                                                                                                                                              |
| `deleteCacheEntries`                | Delete every cache entry matching a glob pattern; \* clears the project cache. Requires project.cache.write; API keys also need delete scope.                                                                                                                                                                                                                          |
| `resolveProjectDependencies`        | Resolve dependency pins. Requires project.files.write.                                                                                                                                                                                                                                                                                                                 |
| `createChannel`                     | Connect a Slack agent. Requires project.channels.write.                                                                                                                                                                                                                                                                                                                |
| `updateChannel`                     | Update a channel binding. Requires project.channels.write.                                                                                                                                                                                                                                                                                                             |
| `deleteChannel`                     | Disconnect a channel. Requires project.channels.write; API keys also need delete scope.                                                                                                                                                                                                                                                                                |
| `checkChannel`                      | Test channel message delivery. Requires project.channels.write.                                                                                                                                                                                                                                                                                                        |
| `deleteDeployment`                  | Delete a deployment. Requires project.deployments.write; API keys also need delete scope.                                                                                                                                                                                                                                                                              |
| `updateDomain`                      | Update a custom domain. Requires project.domains.write.                                                                                                                                                                                                                                                                                                                |
| `createEval`                        | Create an eval source file in the project source or a preview branch to test an agent against a dataset and metrics; returns the eval source document. Requires project.evals.write.                                                                                                                                                                                   |
| `updateEval`                        | Change fields of a structured eval, such as its name, target, dataset or metrics, where an omitted field keeps its value; returns the updated eval source document. Requires project.evals.write.                                                                                                                                                                      |
| `deleteEval`                        | Delete the source file of a structured eval that is no longer needed, from the project source or a preview branch; returns an acknowledgement, or a conflict when the file must be edited in code because it defines other evals or builds the eval in code. Requires project.evals.write; API keys also need delete scope.                                            |
| `runProjectEval`                    | Start a run of an eval against its agent, reading the eval from the project or a preview branch and running it on the main branch, an environment or a preview branch; returns the new eval run, which finishes in the background. Requires project.evals.run.                                                                                                         |
| `deleteFile`                        | Delete a file. Requires project.files.write; API keys also need delete scope.                                                                                                                                                                                                                                                                                          |
| `moveFile`                          | Move a file. Requires project.files.write.                                                                                                                                                                                                                                                                                                                             |
| `createFile`                        | Create a file. Requires project.files.write.                                                                                                                                                                                                                                                                                                                           |
| `updateFile`                        | Update a file. Requires project.files.write.                                                                                                                                                                                                                                                                                                                           |
| `createImageGeneration`             | Generate 1 to 10 images from a text prompt with the EU image model and return their URLs; every image is billed in credits. Requires project.files.write.                                                                                                                                                                                                              |
| `updateProjectIntegration`          | Change the scope, allowed tools, configuration or execution mode of a project integration by sending only the fields to change, so that an omitted field keeps its stored value; returns the updated project integration. Requires project.integrations.configure.                                                                                                     |
| `deleteProjectIntegration`          | Reset the settings of a project for one integration to the defaults without touching its connections, also when no settings were stored; every surface returns { ok: true }. Requires project.integrations.configure; API keys also need delete scope.                                                                                                                 |
| `runIntegrationTool`                | Run one integration tool synchronously by its qualified name, with provider arguments and an optional exact connection; returns the native tool result, where a provider failure or a refusal of the tool layer is a result with isError true, not an error.                                                                                                           |
| `createRetrievalDocument`           | Create retrieval document. Requires project.knowledge.write.                                                                                                                                                                                                                                                                                                           |
| `updateRetrievalDocument`           | Update retrieval document. Requires project.knowledge.write.                                                                                                                                                                                                                                                                                                           |
| `deleteRetrievalDocument`           | Delete retrieval document. Requires project.knowledge.write; API keys also need delete scope.                                                                                                                                                                                                                                                                          |
| `updateProjectMember`               | Changes a non-owner member's role to admin, editor or viewer; the owner changes only through updateProjectOwner. Requires project.members.manage.                                                                                                                                                                                                                      |
| `updateProjectOwner`                | Transfers project ownership from the calling owner to another existing member and demotes the previous owner to admin. Requires project.members.manage.                                                                                                                                                                                                                |
| `deleteProjectMember`               | Removes a member from the project; the last owner cannot be removed, so transfer ownership first. Requires project.members.manage; API keys also need delete scope.                                                                                                                                                                                                    |
| `createProjectInvitation`           | Create an invitation. Requires project.invites.manage.                                                                                                                                                                                                                                                                                                                 |
| `deleteProjectInvitation`           | Delete an invitation. Requires project.invites.manage; API keys also need delete scope.                                                                                                                                                                                                                                                                                |
| `resendProjectInvitation`           | Resend an invitation. Requires project.invites.manage.                                                                                                                                                                                                                                                                                                                 |
| `createConnectSession`              | Create connect session.                                                                                                                                                                                                                                                                                                                                                |
| `deleteConnection`                  | Delete a connection.                                                                                                                                                                                                                                                                                                                                                   |
| `createAgent`                       | Create agent. Requires project.agents.write.                                                                                                                                                                                                                                                                                                                           |
| `updateAgent`                       | Update agent. Requires project.agents.write.                                                                                                                                                                                                                                                                                                                           |
| `deleteAgent`                       | Delete agent. Requires project.agents.write; API keys also need delete scope.                                                                                                                                                                                                                                                                                          |
| `installAgent`                      | Install agent. Requires project.agents.write.                                                                                                                                                                                                                                                                                                                          |
| `installAgentForProjects`           | Install agent in projects. Requires project.agents.write.                                                                                                                                                                                                                                                                                                              |
| `uninstallAgent`                    | Uninstall agent. Requires project.agents.write; API keys also need delete scope.                                                                                                                                                                                                                                                                                       |
| `createPrompt`                      | Create a prompt source file in the project source or a preview branch so agents and clients can reuse its text; returns the prompt source document. Requires project.agents.write.                                                                                                                                                                                     |
| `updatePrompt`                      | Replace the content and description of a structured prompt, where REST and GraphQL clear an omitted description and the MCP tool keeps it; returns the updated prompt source document. Requires project.agents.write.                                                                                                                                                  |
| `deletePrompt`                      | Delete the source file of a prompt that is no longer needed; returns an acknowledgement. Requires project.agents.write.                                                                                                                                                                                                                                                |
| `createTool`                        | Create a project tool source file in the project source or a preview branch so project agents can call it; returns the tool source document. Requires project.agents.write.                                                                                                                                                                                            |
| `updateTool`                        | Replace the description of a structured project tool, where REST and GraphQL clear an omitted description and the MCP tool keeps it; returns the updated tool source document. Requires project.agents.write.                                                                                                                                                          |
| `deleteTool`                        | Delete the source file of a project tool that is no longer needed; returns an acknowledgement. Requires project.agents.write.                                                                                                                                                                                                                                          |
| `createProjectResource`             | Create a project resource, an MCP resource definition under resources/, in the project source or a preview branch; returns the project resource source document. Requires project.files.write.                                                                                                                                                                         |
| `updateProjectResource`             | Change the pattern, description or title of a structured project resource, where an omitted field keeps its value; returns the updated project resource source document. Requires project.files.write.                                                                                                                                                                 |
| `deleteProjectResource`             | Delete the source file of a project resource that is no longer needed; returns an acknowledgement. Requires project.files.write.                                                                                                                                                                                                                                       |
| `createTask`                        | Create a task source file in the project source or a preview branch when a new unit of work must be runnable or schedulable; returns the task source document. Requires project.runs.write.                                                                                                                                                                            |
| `updateTask`                        | Change the name, description or schedulable flag of a structured task, where an omitted description or flag keeps its value; returns the updated task source document. Requires project.runs.write.                                                                                                                                                                    |
| `deleteTask`                        | Delete the source file of a task that is no longer needed; returns the acknowledgement ok: true. Requires project.runs.write.                                                                                                                                                                                                                                          |
| `createWorkflow`                    | Create a workflow source file in the project source or a preview branch when a new multi-step process must be runnable or schedulable; returns the workflow source document. Requires project.runs.write.                                                                                                                                                              |
| `updateWorkflow`                    | Change the description, version or schedulable flag of a structured workflow, where an omitted field keeps its value; returns the updated workflow source document. Requires project.runs.write.                                                                                                                                                                       |
| `deleteWorkflow`                    | Delete the source file of a workflow that is no longer needed; returns the acknowledgement ok: true. Requires project.runs.write.                                                                                                                                                                                                                                      |
| `createSkill`                       | Create a skill, a SKILL.md file an agent loads on demand, in the project source or a preview branch; returns the skill source document. Requires project.agents.write.                                                                                                                                                                                                 |
| `updateSkill`                       | Change the description, allowed tools or instructions of a structured skill, where omitted tools and instructions keep their values; returns the updated skill source document. Requires project.agents.write.                                                                                                                                                         |
| `deleteSkill`                       | Delete the source files of a skill that is no longer needed; returns an acknowledgement. Requires project.agents.write.                                                                                                                                                                                                                                                |
| `createAgentAvatar`                 | Create agent avatar. Requires project.agents.write.                                                                                                                                                                                                                                                                                                                    |
| `createAgentLabel`                  | Create agent label. Requires project.agents.write.                                                                                                                                                                                                                                                                                                                     |
| `updateAgentLabel`                  | Update agent label. Requires project.agents.write.                                                                                                                                                                                                                                                                                                                     |
| `deleteAgentLabel`                  | Delete agent label. Requires project.agents.write; API keys also need delete scope.                                                                                                                                                                                                                                                                                    |
| `createProjectLabel`                | Create project label. Requires project.settings.manage.                                                                                                                                                                                                                                                                                                                |
| `updateProjectLabel`                | Update project label. Requires project.settings.manage.                                                                                                                                                                                                                                                                                                                |
| `deleteProjectLabel`                | Delete project label. Requires project.settings.manage; API keys also need delete scope.                                                                                                                                                                                                                                                                               |
| `createProject`                     | Create a project.                                                                                                                                                                                                                                                                                                                                                      |
| `updateProject`                     | Update a project. Requires project.settings.manage.                                                                                                                                                                                                                                                                                                                    |
| `createDeployment`                  | Create a deployment. Requires project.deploy.execute.                                                                                                                                                                                                                                                                                                                  |
| `deleteDomain`                      | Remove a custom domain. Requires project.domains.write.                                                                                                                                                                                                                                                                                                                |
| `deleteProject`                     | Delete a project. Requires project.delete; API keys also need delete scope.                                                                                                                                                                                                                                                                                            |
| `createEnvironment`                 | Create an environment. Requires project.environments.manage.                                                                                                                                                                                                                                                                                                           |
| `updateEnvironment`                 | Update an environment. Requires project.environments.manage.                                                                                                                                                                                                                                                                                                           |
| `deleteEnvironment`                 | Delete an environment. Requires project.environments.manage.                                                                                                                                                                                                                                                                                                           |
| `createEnvironmentVariable`         | Create an environment variable; a key that exists already is a conflict. Requires project.env\_vars.write.                                                                                                                                                                                                                                                             |
| `updateEnvironmentVariable`         | Change the value or the key of one environment variable. Requires project.env\_vars.write.                                                                                                                                                                                                                                                                             |
| `deleteEnvironmentVariable`         | Delete an environment variable. Requires project.env\_vars.write.                                                                                                                                                                                                                                                                                                      |
| `writeEnvironmentVariable`          | Set one environment variable, creating it or replacing its value. Requires project.env\_vars.write.                                                                                                                                                                                                                                                                    |
| `createDomain`                      | Add a custom domain. Requires project.domains.write.                                                                                                                                                                                                                                                                                                                   |
| `createRelease`                     | Create a release. Requires project.releases.write.                                                                                                                                                                                                                                                                                                                     |
| `deleteRelease`                     | Delete a release. Requires project.releases.write; API keys also need delete scope.                                                                                                                                                                                                                                                                                    |
| `startReleaseAssetManifestBuild`    | Start manifest build. Requires project.files.write.                                                                                                                                                                                                                                                                                                                    |
| `cancelSubscription`                | Schedule the paid subscription of an account to end with its current billing period; returns the canceled subscription. Requires account.billing.manage.                                                                                                                                                                                                               |
| `updateSubscription`                | Change the plan, billing cycle, seats or add-ons of an account; returns what changed, or a checkout URL when the change needs payment. Requires account.billing.manage.                                                                                                                                                                                                |
| `createBillingPortalSession`        | Open a Stripe billing portal session where a person changes payment methods, tax details or the renewal of an account; returns the portal URL. Requires account.billing.manage.                                                                                                                                                                                        |
| `createUploadFolder`                | Create a folder in project uploads with a visibility. Requires project.uploads.write.                                                                                                                                                                                                                                                                                  |
| `deleteUploadFolder`                | Delete a folder's visibility settings and child folders and soft-delete every upload under its prefix. Requires project.uploads.write; API keys also need delete scope.                                                                                                                                                                                                |
| `deleteUpload`                      | Soft-delete an upload so it no longer lists or downloads. Requires project.uploads.write; API keys also need delete scope.                                                                                                                                                                                                                                             |
| `moveUpload`                        | Move an upload to another path in the same project, keeping its ID. Requires project.uploads.write.                                                                                                                                                                                                                                                                    |
| `restoreUpload`                     | Restore a soft-deleted upload. Requires project.uploads.write.                                                                                                                                                                                                                                                                                                         |
| `createUpload`                      | Create a pending upload at a project path and return the signed URL and headers for the PUT request that sends the bytes. Requires project.uploads.write.                                                                                                                                                                                                              |
| `moveUploadFolder`                  | Move a folder, its child folder settings and its active uploads to a new unused path. Requires project.uploads.write.                                                                                                                                                                                                                                                  |
| `updateUploadVisibility`            | Set an upload's or folder's visibility to project, public or private. Requires project.uploads.admin.                                                                                                                                                                                                                                                                  |
| `deleteUploadVisibility`            | Remove the explicit visibility on an upload path or folder so it inherits from its parent folder or the project default again. Requires project.uploads.admin; API keys also need delete scope.                                                                                                                                                                        |
| `updateUploadGrants`                | Replace the complete list of user grants on an upload or folder; an empty list revokes every grant. Requires project.uploads.admin.                                                                                                                                                                                                                                    |
| `updateUploadGrant`                 | Grant one user read, write or admin access to an upload or folder, or change that grant, and leave the other grants unchanged. Requires project.uploads.admin.                                                                                                                                                                                                         |
| `deleteUploadGrant`                 | Revoke one user's grant on an upload or folder. Requires project.uploads.admin; API keys also need delete scope.                                                                                                                                                                                                                                                       |
| `commitFiles`                       | Commit the files. Requires project.files.write.                                                                                                                                                                                                                                                                                                                        |
| `updateDraftContent`                | Update draft content. Requires project.files.write.                                                                                                                                                                                                                                                                                                                    |
| `deleteDraftContent`                | Delete draft content. Requires project.files.write; API keys also need delete scope.                                                                                                                                                                                                                                                                                   |
| `commitDraftContent`                | Commit draft content. Requires project.files.write.                                                                                                                                                                                                                                                                                                                    |
| `createProjectFavorite`             | Adds the project to the caller's favorites and returns the favorite record; a repeat call returns the existing record. Requires project.read.                                                                                                                                                                                                                          |
| `deleteProjectFavorite`             | Removes the project from the caller's favorites; an absent favorite answers not\_found. Requires project.read; API keys also need delete scope.                                                                                                                                                                                                                        |
| `upsertFileChunks`                  | Upsert file chunks. Requires project.knowledge.write.                                                                                                                                                                                                                                                                                                                  |
| `deleteFileChunks`                  | Delete file chunks. Requires project.knowledge.write; API keys also need delete scope.                                                                                                                                                                                                                                                                                 |
| `upsertEmbeddings`                  | Upsert embeddings. Requires project.knowledge.write.                                                                                                                                                                                                                                                                                                                   |
| `deleteEmbeddings`                  | Delete chunk embeddings. Requires project.knowledge.write; API keys also need delete scope.                                                                                                                                                                                                                                                                            |
| `createServer`                      | Create a dedicated server for an environment. Requires project.runtime.manage.                                                                                                                                                                                                                                                                                         |
| `deleteServer`                      | Start deleting a server. Requires project.runtime.manage; API keys also need delete scope.                                                                                                                                                                                                                                                                             |
| `createServerEnvironmentLink`       | Link a server environment. Requires project.runtime.manage.                                                                                                                                                                                                                                                                                                            |
| `deleteServerEnvironmentLink`       | Unlink a server environment. Requires project.runtime.manage; API keys also need delete scope.                                                                                                                                                                                                                                                                         |
| `importExternalFile`                | Import external file. Requires project.uploads.write.                                                                                                                                                                                                                                                                                                                  |
| `createExternalFile`                | Create external file. Requires project.integrations.connect.                                                                                                                                                                                                                                                                                                           |
| `updateExternalFile`                | Update external file. Requires project.integrations.connect.                                                                                                                                                                                                                                                                                                           |
| `createExternalFolder`              | Create external folder. Requires project.integrations.connect.                                                                                                                                                                                                                                                                                                         |
| `moveExternalFile`                  | Move external file. Requires project.integrations.connect.                                                                                                                                                                                                                                                                                                             |
| `deleteExternalFile`                | Delete external file. Requires project.integrations.connect; API keys also need delete scope.                                                                                                                                                                                                                                                                          |
| `createSandbox`                     | Create a sandbox. Requires project.sandboxes.manage.                                                                                                                                                                                                                                                                                                                   |
| `updateSandboxLifetime`             | Update sandbox lifetime. Requires project.sandboxes.manage.                                                                                                                                                                                                                                                                                                            |
| `deleteSandbox`                     | Delete a sandbox. Requires project.sandboxes.manage.                                                                                                                                                                                                                                                                                                                   |
| `heartbeatSandbox`                  | Record sandbox activity. Requires project.sandboxes.manage.                                                                                                                                                                                                                                                                                                            |
| `runSandboxCommand`                 | Run a sandbox command. Requires project.sandboxes.manage.                                                                                                                                                                                                                                                                                                              |
| `startSandboxBackgroundCommand`     | Start a background command. Requires project.sandboxes.manage.                                                                                                                                                                                                                                                                                                         |
| `cancelSandboxBackgroundCommand`    | Cancel a background command. Requires project.sandboxes.manage.                                                                                                                                                                                                                                                                                                        |
| `writeSandboxFiles`                 | Write sandbox files. Requires project.sandboxes.manage.                                                                                                                                                                                                                                                                                                                |
| `createSchedule`                    | Create a recurring schedule that starts a task, a workflow or an agent on a cron expression, or, on REST and GraphQL only, activate a schedule declared in source (the MCP tool creates manual schedules only); returns the schedule: a new schedule is active, and a source schedule that was activated before keeps its current status. Requires project.runs.write. |
| `updateSchedule`                    | Change the fields of a schedule, or pause and resume it with the status, where an omitted field keeps its value; returns the updated schedule. Requires project.runs.write.                                                                                                                                                                                            |
| `deleteSchedule`                    | Delete a schedule that is no longer needed so that it starts no more runs; returns the acknowledgement ok: true. Requires project.runs.write; API keys also need delete scope.                                                                                                                                                                                         |
| `createWebhook`                     | Create a webhook when an external service must start an agent, task or workflow run, or when its deliveries must only be stored as webhook events; returns the webhook and its secret, which is shown only once. Requires project.agents.write.                                                                                                                        |
| `updateWebhook`                     | Change the name, target, prompt template, event filter or status of a webhook, for example to enable or disable deliveries; returns the updated webhook. Requires project.agents.write.                                                                                                                                                                                |
| `deleteWebhook`                     | Delete a webhook that is no longer needed so that its URL refuses future deliveries; returns ok true once the webhook is deleted. Requires project.agents.write; API keys also need delete scope.                                                                                                                                                                      |
| `runWebhook`                        | Send a test payload to a webhook as an external sender posts it, to check its target and filter, also when the webhook is a draft or disabled; returns the webhook event that the call created.                                                                                                                                                                        |
| `replayWebhookEvent`                | Send the stored payload of a webhook event to the current target of the webhook again, for example after a failed run; returns the new webhook event that the replay created.                                                                                                                                                                                          |
| `ensureChildAgentRun`               | Create or recover the child run of a parent run tool call.                                                                                                                                                                                                                                                                                                             |
| `createConversation`                | Start a conversation in a project when a user or an agent opens a new thread, optionally with a first user message; a retry with the same idempotency key returns the same conversation. Requires project.conversations.create.                                                                                                                                        |
| `createConversationMessage`         | Add a user message to a conversation to send what the user typed; the parent message defaults to the selected branch and an idempotency key makes retries safe.                                                                                                                                                                                                        |
| `updateConversationMessage`         | Replace the parts of an existing message to edit it in place; to keep the original, create a branch instead.                                                                                                                                                                                                                                                           |
| `deleteConversationMessage`         | Delete one message from a conversation only when the user asks to remove that message; the deletion needs editor access.                                                                                                                                                                                                                                               |
| `createConversationMessageBranch`   | Create a sibling of a message with new parts when the user edits an earlier message and wants to keep the original reply; the new message gets the parent and role of the original and becomes the selected branch.                                                                                                                                                    |
| `updateConversationBranchSelection` | Select which branch is the current path of a conversation after the user switches branches, so that later messages continue from the selected message; returns the ID of the selected message.                                                                                                                                                                         |
| `createConversationParticipant`     | Add a user to a conversation as member or viewer to share a thread; the operation needs the admin relation.                                                                                                                                                                                                                                                            |
| `deleteConversationParticipant`     | Remove a user from a conversation to revoke the access of that participant to the thread; the operation needs the admin relation.                                                                                                                                                                                                                                      |
| `updateConversationReadState`       | Advance the read cursor of the caller to a message of the conversation when the user has seen messages; the cursor never moves backwards.                                                                                                                                                                                                                              |
| `updateConversation`                | Change the title, summary, project or status (active or archived) of a conversation, for example to rename or archive a thread; a change of status, summary or project needs the admin relation.                                                                                                                                                                       |
| `deleteConversation`                | Delete a conversation only when the user asks to remove the thread, so that it and its messages are no longer accessible; the deletion cannot be undone through the API and needs the admin relation.                                                                                                                                                                  |
