Tálamo
    Tálamo MCPv1.3

    audit_​recent_​trades

    Lista dados limitados de operações recentes de uma conta própria.

    Auditoria
    Somente leitura
    Versão do contrato 1.0.0

    Permissões e segurança

    Procedência
    audited_account
    Requer confirmação
    Não
    openWorld
    false

    Esquema de entrada

    json
    {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "account_id": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
        },
        "limit": {
          "default": 20,
          "type": "integer",
          "minimum": 1,
          "maximum": 50
        }
      },
      "required": [
        "account_id",
        "limit"
      ],
      "additionalProperties": false
    }

    Esquema de saída

    json
    {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "const": "audited_account"
        },
        "trades": {
          "type": "array",
          "items": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        }
      },
      "required": [
        "source",
        "trades"
      ],
      "additionalProperties": {}
    }

    Exemplo

    json
    {
      "title": "Recent trades",
      "input": {
        "account_id": "00000000-0000-4000-8000-000000000004",
        "limit": 20
      },
      "output": {
        "source": "audited_account",
        "trades": []
      }
    }

    Limites

    • At most 50 trades.
    • Only trades from an account owned by the authenticated user.

    Erros estáveis

    CodeDescription
    UNAUTHORIZEDThe OAuth token is missing, expired, revoked, or invalid for this resource.
    VALIDATION_ERRORThe arguments do not match the published input schema.
    TOOL_ERRORThe operation could not be completed without exposing internal details.
    NOT_FOUNDThe account is not owned by the authenticated user.