{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To attach guardrails to an agent, send a POST request to `/v2/gen-ai/agents/{agent_uuid}/guardrails`.","properties":{"path":{"type":"object","properties":{"agent_uuid":{"type":"string","examples":["\"123e4567-e89b-12d3-a456-426614174000\""],"description":"The UUID of the agent."}},"required":["agent_uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/apiLinkAgentGuardrailsInputPublic"}},"required":["path"],"additionalProperties":false,"definitions":{"apiLinkAgentGuardrailsInputPublic":{"description":"Information about linking an agent to a guardrail","properties":{"agent_uuid":{"description":"The UUID of the agent.","type":"string","examples":["\"12345678-1234-1234-1234-123456789012\""]},"guardrails":{"description":"The list of guardrails to attach.","items":{"$ref":"#/definitions/apiAgentGuardrailInput"},"type":"array"}},"type":"object"},"apiAgentGuardrailInput":{"properties":{"guardrail_uuid":{"description":"Guardrail uuid","type":"string","examples":["123e4567-e89b-12d3-a456-426614174000"]},"priority":{"description":"Priority of the guardrail","type":"integer","examples":[123]}},"type":"object"}}},"name":"Attach Guardrails to an Agent","id":"digitalocean.genai_attach_agent_guardrails","example":{"path":{"agent_uuid":"\"123e4567-e89b-12d3-a456-426614174000\""}},"maxRequests":1,"summary":false}}