LoomCycle Channel Tool icon

LoomCycle Channel Tool

Loomcycle Channel ops (publish + peek) as a tool the AI Agent can call

LoomCycle Channel Tool

AI-generated

Summary

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 (publish or peek) and channel. scope is optional and defaults to global; set it to user to address a user's channel, supplying userId directly or configuring a credential default. For publish, provide a JSON-serializable payload; deliverAt optionally sets an RFC3339 deferred-delivery timestamp. For peek, fromCursor optionally sets the resume cursor and maxMessages optionally 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 error field; as an Agent tool, failures are returned as a JSON string containing the error. Requires Loomcycle API credentials.

Links

Discussion