LoomCycle Channel Tool
AI-generatedSummary
Expose Loomcycle channel publishing and non-destructive message peeking as a tool for an AI Agent, or run the same operations on incoming items. Choose publish with a channel and payload to send a message, or peek with a channel to read messages without advancing the committed cursor.
Inputs
- Tool Name (required) — Name surfaced to the parent AI Agent; defaults to
loomcycle_channel. - Tool Description — Description shown to the parent AI Agent when it decides whether to call the tool.
- Tool arguments — The tool accepts
op(publishorpeek) andchannel.scopeis optional and defaults toglobal; set it touserto address a user's channel, supplyinguserIddirectly or configuring a credential default. Forpublish, provide a JSON-serializablepayload;deliverAtoptionally sets an RFC3339 deferred-delivery timestamp. Forpeek,fromCursoroptionally sets the resume cursor andmaxMessagesoptionally limits the batch (the server defaults to 10).
Output shape
A tool for an AI Agent; when executed directly, returns one output item per input item with the operation result in its JSON.
Peek does not advance the committed cursor. Direct execution reports failures in an
errorfield; as an Agent tool, failures are returned as a JSON string containing the error. Requires Loomcycle API credentials.