Tembory Action Guard icon

Tembory Action Guard

Deterministically validates and records protected tool actions before and after execution

Validar

AI-generated

Summary

Validates an action with Tembory before it runs, using the conversation and user IDs to evaluate its scope. The operation stops the item with an error if Tembory does not allow the action; it does not reserve or execute the action.

Inputs

  • Ação (required) — Action identifier to validate.
  • ID da Conversa (required) — Stable conversation identifier; the default uses temboryGuard.scope.threadId, threadId, or sessionId from the input item.
  • ID do Usuário (required) — Stable user identifier; the default uses temboryGuard.scope.userId, userId, customerId, threadId, or sessionId from the input item.
  • Entrada da Ação — JSON sent to Tembory as the action input; defaults to actionInput from the item, or the full item JSON.

Output shape

One output item per input item, preserving its JSON and adding a temboryGuard object containing Tembory's response and the threadId and userId scope.

Requires Tembory API credentials. If the request fails or the response does not have allowed: true, the operation throws an error and does not return the item.

Links

Discussion