立即开始
Metatextai Tools

Metatextai Update Policy Guardrails

通过 Aident Loadout 使用 Metatextai Tools 的 Metatextai Update Policy Guardrails。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

Update an existing application's policy guardrails and rules. The returned policy may echo the request even when all endpoints fail and one returned 403 or 404, so it does not by itself confirm the update.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • idstring
    必填
    Unique policy ID. Must be identical to the path `policy_id`.
  • rulesarray
    必填
    List of rule objects that define the guardrails.
  • target
    必填
    Where rules apply. Allowed values: 'user', 'assistant', 'context', 'system'. Alias 'input' maps to ['user','context'], 'output' maps to 'assistant'.
  • policy_idstring
    必填
    The policy ID to update. Must match `id` in the body.
  • definitionstring
    Short description of the policy (optional).
  • application_idstring
    必填
    The application ID that scopes the policy.
  • override_responsestring
    Custom message returned when violations occur (optional).

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源