Mutation
mutation UpdateAgentSandboxToolPolicy($input: UpdateAgentSandboxToolPolicyInput!) {
updateAgentSandboxToolPolicy(input: $input) {
policy {
service
op
displayName
description
mode
factoryDefault
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"service": "string",
"op": "string",
"mode": "NOT_REQUIRED"
}
}Response
{
"data": {
"updateAgentSandboxToolPolicy": {
"policy": {
"service": "string",
"op": "string",
"displayName": "string",
"description": "string",
"mode": "NOT_REQUIRED",
"factoryDefault": "NOT_REQUIRED"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
updateAgentSandboxToolPolicy
Set the approval mode for a single Sidekick tool in this workspace. Persisted as a sparse override; setting a tool to its factory default clears the override.
MUTATION
updateAgentSandboxToolPolicy(input: UpdateAgentSandboxToolPolicyInput!): UpdateAgentSandboxToolPolicyOutput!Arguments
input
required
policy
error
Mutation
mutation UpdateAgentSandboxToolPolicy($input: UpdateAgentSandboxToolPolicyInput!) {
updateAgentSandboxToolPolicy(input: $input) {
policy {
service
op
displayName
description
mode
factoryDefault
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"service": "string",
"op": "string",
"mode": "NOT_REQUIRED"
}
}Response
{
"data": {
"updateAgentSandboxToolPolicy": {
"policy": {
"service": "string",
"op": "string",
"displayName": "string",
"description": "string",
"mode": "NOT_REQUIRED",
"factoryDefault": "NOT_REQUIRED"
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

