{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Check whether an agent is public or private. To update the agent status, send a PUT request to `/v2/gen-ai/agents/{uuid}/deployment_visibility`.","properties":{"path":{"type":"object","properties":{"uuid":{"type":"string","examples":["\"123e4567-e89b-12d3-a456-426614174000\""],"description":"Unique id"}},"required":["uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/apiUpdateAgentDeploymentVisibilityInputPublic"}},"required":["path"],"additionalProperties":false,"definitions":{"apiUpdateAgentDeploymentVisibilityInputPublic":{"description":"UpdateAgentDeploymentVisibilityInputPublic description","properties":{"uuid":{"description":"Unique id","type":"string","examples":["\"12345678-1234-1234-1234-123456789012\""]},"visibility":{"$ref":"#/definitions/apiDeploymentVisibility"}},"type":"object"},"apiDeploymentVisibility":{"default":"VISIBILITY_UNKNOWN","description":"- VISIBILITY_UNKNOWN: The status of the deployment is unknown\n - VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests\n - VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state\n - VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet\n - VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys","enum":["VISIBILITY_UNKNOWN","VISIBILITY_DISABLED","VISIBILITY_PLAYGROUND","VISIBILITY_PUBLIC","VISIBILITY_PRIVATE"],"type":"string","examples":["VISIBILITY_UNKNOWN"]}}},"name":"Update Agent Status","id":"digitalocean.genai_update_agent_deployment_visibility","example":{"path":{"uuid":"\"123e4567-e89b-12d3-a456-426614174000\""}},"maxRequests":1,"summary":false}}