You're viewing a demo portfolio

Join the waitlist
PRSM

create_report

Active

Tool of QuintaDB

declared in 1.0.0

Створити звіт (фільтр/view) для форми. Підтримує умови фільтрації, групування, суму/середнє по групі, видимі колонки, сортування. Для дат: yesterday, today, last_7_days, last_30_days, this_month, this_week, between (+ from/to), before, after тощо.

Parameters schema

{
  "type": "object",
  "required": [
    "app_id",
    "entity_id",
    "name"
  ],
  "properties": {
    "asc": {
      "type": "boolean",
      "description": "true=за зростанням (default), false=за спаданням"
    },
    "name": {
      "type": "string",
      "description": "Назва звіту"
    },
    "order": {
      "type": "string",
      "description": "ID поля для сортування"
    },
    "app_id": {
      "type": "string",
      "description": "Project ID (from list_projects)"
    },
    "per_page": {
      "type": "integer",
      "description": "Записів на сторінку (default 10)"
    },
    "criterias": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "to": {
            "type": "string",
            "description": "До (для between)"
          },
          "from": {
            "type": "string",
            "description": "Від (для between)"
          },
          "join": {
            "type": "string",
            "description": "and або or (default: and)"
          },
          "field": {
            "type": "string",
            "description": "Назва або ID поля"
          },
          "search": {
            "type": "string",
            "description": "Значення для порівняння"
          },
          "search_n": {
            "type": "integer",
            "description": "N для last_n_days, next_n_days тощо"
          },
          "condition": {
            "type": "string"
          }
        }
      },
      "description": "Умови фільтрації. Для дат: yesterday, today, last_7_days, last_30_days, this_week, this_month, next_7_days, between (+ from/to), before, after. Для текстів: is, is_not, contains, not_contains, starts_with, ends_with, is_empty, is_not_empty. Для чисел: is, is_not, less_than, greater_than, between."
    },
    "entity_id": {
      "type": "string",
      "description": "Form ID (from list_forms or describe_project)"
    },
    "property_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "ID або назви полів що відображаються (пусто = всі)"
    },
    "total_by_group": {
      "type": "integer",
      "description": "1 = показати суму числового поля по кожній групі. Обов'язково вказати total_by_group_column_id."
    },
    "group_field_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "ID полів для групування (GROUP BY). Наприклад, групувати по статусу."
    },
    "average_by_group": {
      "type": "integer",
      "description": "1 = показати середнє числового поля по кожній групі. Обов'язково вказати average_by_group_column_id."
    },
    "only_groupname_and_count": {
      "type": "integer",
      "description": "1 = показати лише назву групи та кількість записів (без деталей)"
    },
    "total_by_group_column_id": {
      "type": "string",
      "description": "ID або назва числового поля для підрахунку суми по групі."
    },
    "average_by_group_column_id": {
      "type": "string",
      "description": "ID або назва числового поля для підрахунку середнього по групі."
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

QuintaDB

1/7 registries
View full server →
create_report — QuintaDB — PRSM MCP