{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update an agent API key, send a PUT request to `/v2/gen-ai/agents/{agent_uuid}/api_keys/{api_key_uuid}`.","properties":{"path":{"type":"object","properties":{"agent_uuid":{"type":"string","examples":["\"123e4567-e89b-12d3-a456-426614174000\""],"description":"Agent id"},"api_key_uuid":{"type":"string","examples":["\"123e4567-e89b-12d3-a456-426614174000\""],"description":"API key ID"}},"required":["agent_uuid","api_key_uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/apiUpdateAgentAPIKeyInputPublic"}},"required":["path"],"additionalProperties":false,"definitions":{"apiUpdateAgentAPIKeyInputPublic":{"properties":{"agent_uuid":{"description":"Agent id","type":"string","examples":["\"12345678-1234-1234-1234-123456789012\""]},"api_key_uuid":{"description":"API key ID","type":"string","examples":["\"12345678-1234-1234-1234-123456789012\""]},"name":{"description":"Name","type":"string","examples":["\"Production Key\""]}},"type":"object"}}},"name":"Update API Key for an Agent","id":"digitalocean.genai_update_agent_api_key","example":{"path":{"agent_uuid":"\"123e4567-e89b-12d3-a456-426614174000\"","api_key_uuid":"\"123e4567-e89b-12d3-a456-426614174000\""}},"maxRequests":1,"summary":false}}