You're viewing a demo portfolio

Join the waitlist
PRSM

create_formatting

Active

Tool of QuintaDB

declared in 1.0.0

Створити правило форматування рядків таблиці/звіту. Дозволяє підсвічувати рядки кольором, робити жирний/курсив/закреслення залежно від умов (conditions) або для всіх рядків (all=true).

Parameters schema

{
  "type": "object",
  "required": [
    "app_id",
    "entity_id",
    "name"
  ],
  "properties": {
    "all": {
      "type": "boolean",
      "description": "true = застосувати до всіх рядків, false = тільки за умовами"
    },
    "name": {
      "type": "string",
      "description": "Назва правила"
    },
    "app_id": {
      "type": "string",
      "description": "Project ID (from list_projects)"
    },
    "settings": {
      "type": "object",
      "properties": {
        "bold": {
          "type": "boolean"
        },
        "italic": {
          "type": "boolean"
        },
        "strike": {
          "type": "boolean"
        },
        "font_size": {
          "type": "integer"
        },
        "underline": {
          "type": "boolean"
        },
        "text_color": {
          "type": "string"
        },
        "all_columns": {
          "type": "boolean"
        },
        "font_family": {
          "type": "string"
        },
        "background_color": {
          "type": "string"
        }
      },
      "description": "Стиль: background_color (#hex), text_color (#hex), bold, italic, underline, strike (boolean), font_family, font_size (px число), all_columns (boolean)"
    },
    "entity_id": {
      "type": "string",
      "description": "ID форми або звіту"
    },
    "conditions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "join": {
            "type": "string",
            "description": "and або or"
          },
          "search": {
            "type": "string"
          },
          "condition": {
            "type": "string"
          },
          "property_id": {
            "type": "string",
            "description": "Назва або ID поля"
          }
        }
      },
      "description": "Умови (коли all=false). condition: is, is_not, contains, is_empty, is_not_empty, less_than, greater_than тощо"
    },
    "property_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Назви або ID полів до яких застосовується форматування (порожньо = всі колонки)"
    },
    "criteria_name": {
      "type": "string",
      "description": "Текстовий опис умов (наприклад 'Сума більше 1000'). Обов'язково якщо all=false."
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

QuintaDB

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