{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a relationship from a tag to an event or indicator (`targetType`) in the dataset given by `datasetId`. Relationships between two tags are not supported.","properties":{"path":{"type":"object","properties":{"account_id":{"description":"Account ID.","type":"string"},"tag_uuid":{"description":"Tag UUID.","type":"string"}},"required":["account_id","tag_uuid"],"additionalProperties":false},"body":{"type":"object","properties":{"confidence":{"description":"Confidence score 0–100.","type":"integer","maximum":100,"minimum":0},"datasetId":{"description":"Dataset UUID where the relationship row will be stored (locates the Indicators DO).","type":"string","minLength":1},"metadata":{"description":"Arbitrary JSON metadata.","type":"object","additionalProperties":true},"targetId":{"description":"UUID of the target entity.","type":"string","minLength":1},"targetType":{"description":"Target type. \"tag\" is not allowed (tag↔tag relationships are not supported).","type":"string","enum":["event","indicator"],"examples":["event"]},"type":{"description":"Relationship type.","type":"string","minLength":1,"examples":["attributed-to"]}},"required":["targetType","targetId","datasetId","type"]}},"required":["path"],"additionalProperties":false},"name":"Create a tag relationship","id":"cloudflare.post_tagrelationshipcreate","example":{"path":{"account_id":"example","tag_uuid":"example"}},"maxRequests":1,"summary":false}}