{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "sellsy.usefulapi.io",
    "site": "usefulapi.io",
    "addresses": [
      {
        "address": "104.21.62.184",
        "endpoints": 1105,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.32.0/19",
          "country": "US"
        }
      },
      {
        "address": "172.67.138.37",
        "endpoints": 1105,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::ac43:8a25",
        "endpoints": 1105,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::6815:3eb8",
        "endpoints": 1105,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.62.184",
          "172.67.138.37",
          "2606:4700:3030::ac43:8a25",
          "2606:4700:3032::6815:3eb8"
        ],
        "first_seen": "2026-11-22T20:09:01.835Z",
        "last_seen": "2026-11-22T20:09:01.835Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "sellsy-mcp",
      "version": "1.21.5",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1104,
      "sample": [
        {
          "id": "22186",
          "url": "https://mcp.easyscribe.guide/mcp",
          "server_name": "guide.easyscribe/easy-scribe",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T17:59:02.319Z"
        },
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:37:00.117Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:38:01.144Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:39:01.150Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:40:04.827Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:41:00.510Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:42:01.406Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:43:00.718Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:44:09.505Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:45:03.727Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:46:00.640Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:47:00.764Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:48:07.939Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:49:01.212Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:50:02.305Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:51:00.623Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:52:00.408Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:53:01.972Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:54:01.697Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:55:02.861Z"
        }
      ]
    },
    "same_site": {
      "total": 1103,
      "sample": [
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:37:00.117Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:38:01.144Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:39:01.150Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:40:04.827Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:41:00.510Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:42:01.406Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:43:00.718Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:44:09.505Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:45:03.727Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:46:00.640Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:47:00.764Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:48:07.939Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:49:01.212Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:50:02.305Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:51:00.623Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:52:00.408Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:53:01.972Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:54:01.697Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:55:02.861Z"
        },
        {
          "id": "42106",
          "url": "https://adminpulse.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adminpulse",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:56:00.432Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.usefulapi",
      "total": 1103,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/m190/usefulapi-mcp",
      "total": 1103,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "42889",
    "server_name": "io.usefulapi/sellsy",
    "url": "https://sellsy.usefulapi.io/mcp",
    "host": "sellsy.usefulapi.io",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T20:09:01.835Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "06ea0a4470f6484c16fc628f902b4e66833760776fe48a9fb2969a37d94f3689",
    "first_listed_at": "2026-11-22T20:09:01.835Z",
    "created_at": "2026-11-21T12:45:10.246Z",
    "resolved_addresses": [
      "104.21.62.184",
      "172.67.138.37",
      "2606:4700:3030::ac43:8a25",
      "2606:4700:3032::6815:3eb8"
    ]
  },
  "server": {
    "name": "io.usefulapi/sellsy",
    "title": "Sellsy MCP by usefulapi",
    "description": "Search and read Sellsy companies, contacts, opportunities, invoices and tasks; create records.",
    "version": "1.21.5",
    "registry_status": "active",
    "repository_url": "https://github.com/m190/usefulapi-mcp",
    "website_url": "https://usefulapi.io/sellsy/",
    "published_at": "2026-11-18T11:02:41.937Z",
    "updated_at": "2026-11-18T11:02:41.937Z",
    "first_seen": "2026-11-21T12:45:09.640Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "runs-agents",
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T20:09:09.494Z"
  },
  "operator": {
    "key": "usefulapi.io",
    "name": "usefulapi.io",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 1,
    "answered": 1,
    "answered_percent": 100,
    "avg_listing_latency_ms": 272,
    "first_check_in_window": "2026-11-22T20:09:01.835Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "06ea0a4470f6484c16fc628f902b4e66833760776fe48a9fb2969a37d94f3689",
    "tools": 53,
    "resources": 0,
    "prompts": 7,
    "first_seen": "2026-11-22T20:09:02.114Z",
    "tool_names": [
      "sellsy_get_estimate_pdf",
      "sellsy_create_draft_estimate",
      "sellsy_update_draft_estimate",
      "sellsy_estimate_operation_status",
      "sellsy_get_estimate_pdf_link",
      "sellsy_list_estimate_files",
      "sellsy_import_items",
      "sellsy_item_import_status",
      "sellsy_search",
      "sellsy_list_companies",
      "sellsy_search_companies",
      "sellsy_get_company",
      "sellsy_list_company_contacts",
      "sellsy_list_individuals",
      "sellsy_search_individuals",
      "sellsy_get_individual",
      "sellsy_list_contacts",
      "sellsy_search_contacts",
      "sellsy_get_contact",
      "sellsy_list_opportunities",
      "sellsy_search_opportunities",
      "sellsy_get_opportunity",
      "sellsy_list_opportunity_pipelines",
      "sellsy_list_pipeline_steps",
      "sellsy_list_estimates",
      "sellsy_search_estimates",
      "sellsy_get_estimate",
      "sellsy_list_invoices",
      "sellsy_search_invoices",
      "sellsy_get_invoice",
      "sellsy_list_invoice_payments",
      "sellsy_list_orders",
      "sellsy_search_orders",
      "sellsy_get_order",
      "sellsy_list_credit_notes",
      "sellsy_get_credit_note",
      "sellsy_list_items",
      "sellsy_search_items",
      "sellsy_get_item",
      "sellsy_search_payments",
      "sellsy_list_tasks",
      "sellsy_search_tasks",
      "sellsy_get_task",
      "sellsy_list_task_labels",
      "sellsy_search_comments",
      "sellsy_list_staffs",
      "sellsy_create_company",
      "sellsy_create_individual",
      "sellsy_create_contact",
      "sellsy_create_opportunity",
      "sellsy_move_opportunity",
      "sellsy_create_comment",
      "sellsy_create_task"
    ],
    "declared": {
      "tools": [
        {
          "name": "sellsy_get_estimate_pdf",
          "title": "Read a quote PDF",
          "description": "Download the current PDF of an authorized estimate and return its actual bytes as an embedded application/pdf resource. Resolves the current pdf_link through estimates.read. Supports HTTPS links and up to three redirects on Sellsy-owned sellsy.com hosts only; sends no API credentials to the download host. Rejects login pages, non-PDF replies, unsupported hosts and PDFs above 2 MiB. This reads the PDF for clients that support PDF resources; it does not perform OCR or invent extracted text.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "estimate_id"
            ],
            "properties": {
              "estimate_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Read quote PDF",
            "readOnlyHint": true
          }
        },
        {
          "name": "sellsy_create_draft_estimate",
          "title": "Preview or create a draft quote",
          "description": "WRITE: preview a Sellsy estimate with free-text or catalog rows; only confirm:true plus the approved preview_hash creates it. Supply a stable operation_id and reuse it for retries. Single rows require a decimal unit_amount; catalog rows can omit it to inherit the catalog price shown in preview. Zero is explicit; blank/null prices are rejected. related links a company/individual and its opportunities. Uses estimates.read and estimates.write; the write endpoint is open beta. A new estimate defaults to draft. Never sends, changes status, signs or charges. Confirmed writes require hosted persistent operation storage.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "operation_id",
              "estimate"
            ],
            "properties": {
              "confirm": {
                "type": "boolean"
              },
              "estimate": {
                "type": "object",
                "required": [
                  "related",
                  "rows"
                ],
                "properties": {
                  "date": {
                    "type": "string",
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                  },
                  "note": {
                    "type": "string",
                    "maxLength": 8000
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "quantity",
                            "unit_amount"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "const": "single"
                            },
                            "tax_id": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "unit_id": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "quantity": {
                              "type": "string",
                              "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$",
                              "description": "Non-negative decimal string. Zero is explicit; blank/null is not a price."
                            },
                            "reference": {
                              "type": "string",
                              "maxLength": 250
                            },
                            "description": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 8000
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "is_optional": {
                              "type": "boolean"
                            },
                            "unit_amount": {
                              "type": "string",
                              "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$",
                              "description": "Non-negative decimal string. Zero is explicit; blank/null is not a price."
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "related",
                            "quantity"
                          ],
                          "properties": {
                            "type": {
                              "type": "string",
                              "const": "catalog"
                            },
                            "tax_id": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "related": {
                              "type": "object",
                              "required": [
                                "type",
                                "id"
                              ],
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "exclusiveMinimum": 0
                                },
                                "type": {
                                  "enum": [
                                    "product",
                                    "service"
                                  ],
                                  "type": "string"
                                },
                                "declination_id": {
                                  "anyOf": [
                                    {
                                      "type": "integer",
                                      "maximum": 9007199254740991,
                                      "exclusiveMinimum": 0
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "additionalProperties": false
                            },
                            "unit_id": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "quantity": {
                              "type": "string",
                              "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$",
                              "description": "Non-negative decimal string. Zero is explicit; blank/null is not a price."
                            },
                            "reference": {
                              "type": "string",
                              "maxLength": 250
                            },
                            "description": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 8000
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "is_optional": {
                              "type": "boolean"
                            },
                            "unit_amount": {
                              "type": "string",
                              "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$",
                              "description": "Omit to inherit Sellsy's catalog price. Preview shows its computed price; it is checked again on confirmation."
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "type",
                            "text"
                          ],
                          "properties": {
                            "text": {
                              "type": "string",
                              "maxLength": 8000
                            },
                            "type": {
                              "type": "string",
                              "const": "comment"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    },
                    "maxItems": 100,
                    "minItems": 1
                  },
                  "related": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "type",
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "exclusiveMinimum": 0
                        },
                        "type": {
                          "enum": [
                            "company",
                            "individual",
                            "opportunity"
                          ],
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 20,
                    "minItems": 1
                  },
                  "subject": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "currency": {
                    "type": "string",
                    "pattern": "^[A-Z]{3}$"
                  },
                  "contact_id": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  "expiry_date": {
                    "type": "string",
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                  }
                },
                "additionalProperties": false
              },
              "operation_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{8,100}$"
              },
              "preview_hash": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            }
          },
          "annotations": {
            "title": "Create draft quote",
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_update_draft_estimate",
          "title": "Preview or edit a draft quote",
          "description": "WRITE: update only a draft estimate, after preview and user approval. A fresh full snapshot and computed prices/totals must still match preview_hash. Supply all current row ids exactly once in existing order (unchanged rows as {id}), followed by optional new free-text/catalog/comment rows. Omit rows to leave them untouched. This tool never deletes or reorders rows, sends, changes status, signs or charges. Related is the complete approved list of customer/opportunity links. Needs estimates.read/write; the write endpoint is open beta. Reuse operation_id after a lost reply; check operation status before any different operation.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "operation_id",
              "estimate_id",
              "changes"
            ],
            "properties": {
              "changes": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "string",
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                  },
                  "note": {
                    "type": "string",
                    "maxLength": 8000
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "id"
                          ],
                          "properties": {
                            "id": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "text": {
                              "type": "string",
                              "maxLength": 8000
                            },
                            "tax_id": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "unit_id": {
                              "type": "integer",
                              "maximum": 9007199254740991,
                              "exclusiveMinimum": 0
                            },
                            "quantity": {
                              "type": "string",
                              "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$",
                              "description": "Non-negative decimal string. Zero is explicit; blank/null is not a price."
                            },
                            "reference": {
                              "type": "string",
                              "maxLength": 250
                            },
                            "description": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 8000
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "is_optional": {
                              "type": "boolean"
                            },
                            "unit_amount": {
                              "type": "string",
                              "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$",
                              "description": "Non-negative decimal string. Zero is explicit; blank/null is not a price."
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "type",
                                "quantity",
                                "unit_amount"
                              ],
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "const": "single"
                                },
                                "tax_id": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "exclusiveMinimum": 0
                                },
                                "unit_id": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "exclusiveMinimum": 0
                                },
                                "quantity": {
                                  "type": "string",
                                  "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$",
                                  "description": "Non-negative decimal string. Zero is explicit; blank/null is not a price."
                                },
                                "reference": {
                                  "type": "string",
                                  "maxLength": 250
                                },
                                "description": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 8000
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "is_optional": {
                                  "type": "boolean"
                                },
                                "unit_amount": {
                                  "type": "string",
                                  "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$",
                                  "description": "Non-negative decimal string. Zero is explicit; blank/null is not a price."
                                }
                              },
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "required": [
                                "type",
                                "related",
                                "quantity"
                              ],
                              "properties": {
                                "type": {
                                  "type": "string",
                                  "const": "catalog"
                                },
                                "tax_id": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "exclusiveMinimum": 0
                                },
                                "related": {
                                  "type": "object",
                                  "required": [
                                    "type",
                                    "id"
                                  ],
                                  "properties": {
                                    "id": {
                                      "type": "integer",
                                      "maximum": 9007199254740991,
                                      "exclusiveMinimum": 0
                                    },
                                    "type": {
                                      "enum": [
                                        "product",
                                        "service"
                                      ],
                                      "type": "string"
                                    },
                                    "declination_id": {
                                      "anyOf": [
                                        {
                                          "type": "integer",
                                          "maximum": 9007199254740991,
                                          "exclusiveMinimum": 0
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                "unit_id": {
                                  "type": "integer",
                                  "maximum": 9007199254740991,
                                  "exclusiveMinimum": 0
                                },
                                "quantity": {
                                  "type": "string",
                                  "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$",
                                  "description": "Non-negative decimal string. Zero is explicit; blank/null is not a price."
                                },
                                "reference": {
                                  "type": "string",
                                  "maxLength": 250
                                },
                                "description": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 8000
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "is_optional": {
                                  "type": "boolean"
                                },
                                "unit_amount": {
                                  "type": "string",
                                  "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$",
                                  "description": "Omit to inherit Sellsy's catalog price. Preview shows its computed price; it is checked again on confirmation."
                                }
                              },
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "required": [
                                "type",
                                "text"
                              ],
                              "properties": {
                                "text": {
                                  "type": "string",
                                  "maxLength": 8000
                                },
                                "type": {
                                  "type": "string",
                                  "const": "comment"
                                }
                              },
                              "additionalProperties": false
                            }
                          ]
                        }
                      ]
                    },
                    "maxItems": 200,
                    "minItems": 1
                  },
                  "related": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "type",
                        "id"
                      ],
                      "properties": {
                        "id": {
                          "type": "integer",
                          "maximum": 9007199254740991,
                          "exclusiveMinimum": 0
                        },
                        "type": {
                          "enum": [
                            "company",
                            "individual",
                            "opportunity"
                          ],
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 20,
                    "minItems": 1
                  },
                  "subject": {
                    "type": "string",
                    "maxLength": 2000
                  },
                  "currency": {
                    "type": "string",
                    "pattern": "^[A-Z]{3}$"
                  },
                  "contact_id": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  "expiry_date": {
                    "type": "string",
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                  }
                },
                "additionalProperties": false
              },
              "confirm": {
                "type": "boolean"
              },
              "estimate_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "exclusiveMinimum": 0
              },
              "operation_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{8,100}$"
              },
              "preview_hash": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            }
          },
          "annotations": {
            "title": "Update draft quote",
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "sellsy_estimate_operation_status",
          "title": "Check draft quote operation",
          "description": "Read the durable state and verified estimate id for this hosted personal API client's operation_id. Keep the original client to reconcile an uncertain attempt; changing credentials does not carry operation history to another client. An uncertain attempt is not automatically replayed.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "operation_id"
            ],
            "properties": {
              "operation_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{8,100}$"
              }
            }
          },
          "annotations": {
            "title": "Check quote operation",
            "readOnlyHint": true
          }
        },
        {
          "name": "sellsy_get_estimate_pdf_link",
          "title": "Get a quote PDF link",
          "description": "Read the documented pdf_link from an authorized Sellsy estimate. Returns the vendor URL for the user/client to open; does not download, parse or claim to read PDF contents. The link can change after edits. Needs estimates.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "estimate_id"
            ],
            "properties": {
              "estimate_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get quote PDF link",
            "readOnlyHint": true
          }
        },
        {
          "name": "sellsy_list_estimate_files",
          "title": "List quote attachments",
          "description": "List the files/directories attached to an estimate through its documented open-beta endpoint. Requires estimates.read and files.read. Does not upload, associate or read file contents.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "estimate_id"
            ],
            "properties": {
              "estimate_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List quote attachments",
            "readOnlyHint": true
          }
        },
        {
          "name": "sellsy_import_items",
          "title": "Preview or import catalog items",
          "description": "WRITE: create catalog items (products or services) from rows of a supplier file, up to 25 rows per call, matched by reference so no duplicate is created. An existing reference is skipped, or updated with on_existing: update (only the given fields that differ). The preview shows, per row, create / update (before and after) / unchanged / skip; nothing is written until confirm:true with the preview_hash and the same operation_id. Each written item is read back. Prices are decimal strings (purchase_amount = purchase price, reference_price = sale price). Never deletes or archives. Needs items.read and items.write; confirmed writes need the hosted connection. Sellsy: POST /items/search, POST /items, PUT /items/{id}, GET /items/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "operation_id",
              "rows"
            ],
            "properties": {
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "reference"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 250,
                      "minLength": 1,
                      "description": "Item name. Needed for a new item."
                    },
                    "type": {
                      "enum": [
                        "product",
                        "service"
                      ],
                      "type": "string",
                      "description": "New items only, default product."
                    },
                    "tax_id": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "description": "Sellsy tax id.",
                      "exclusiveMinimum": 0
                    },
                    "unit_id": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "description": "Sellsy unit id.",
                      "exclusiveMinimum": 0
                    },
                    "reference": {
                      "type": "string",
                      "maxLength": 100,
                      "minLength": 1,
                      "description": "The item reference (supplier reference / SKU). It is the de-duplication key."
                    },
                    "category_id": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "description": "Sellsy item category id (from an existing item: sellsy_get_item).",
                      "exclusiveMinimum": 0
                    },
                    "description": {
                      "type": "string",
                      "maxLength": 8000
                    },
                    "purchase_amount": {
                      "type": "string",
                      "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$",
                      "description": "Purchase price excluding tax."
                    },
                    "reference_price": {
                      "type": "string",
                      "pattern": "^(?:0|[1-9]\\d{0,11})(?:\\.\\d{1,6})?$",
                      "description": "Sale price, excluding tax unless is_reference_price_taxes_free is false."
                    },
                    "is_reference_price_taxes_free": {
                      "type": "boolean",
                      "description": "true: reference_price excludes tax."
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 25,
                "minItems": 1,
                "description": "Up to 25 rows per call. Split a longer file into batches."
              },
              "confirm": {
                "type": "boolean"
              },
              "on_existing": {
                "enum": [
                  "skip",
                  "update"
                ],
                "type": "string",
                "description": "When an item with the same reference exists: skip (default) leaves it unchanged; update writes the given fields."
              },
              "operation_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{8,100}$",
                "description": "Your stable id for this batch (8-100 letters, digits, - or _). Reuse it to retry after a lost reply."
              },
              "preview_hash": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            }
          },
          "annotations": {
            "title": "Import catalog items",
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "sellsy_item_import_status",
          "title": "Check a catalog import",
          "description": "Read the recorded outcome of a sellsy_import_items operation_id for this hosted connection (state and per-row results). Writes nothing.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "operation_id"
            ],
            "properties": {
              "operation_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{8,100}$",
                "description": "Your stable id for this batch (8-100 letters, digits, - or _). Reuse it to retry after a lost reply."
              }
            }
          },
          "annotations": {
            "title": "Check catalog import",
            "readOnlyHint": true
          }
        },
        {
          "name": "sellsy_search",
          "title": "Search across Sellsy",
          "description": "Free-text search over companies, individuals, contacts, opportunities, items, documents and staff in one call (GET /search). Use it to find a record by name, email or number when you do not know its type. Needs the search.read scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "q"
            ],
            "properties": {
              "q": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "The text to search for."
              },
              "type": {
                "type": "array",
                "items": {
                  "enum": [
                    "company",
                    "company.client",
                    "company.prospect",
                    "company.supplier",
                    "individual",
                    "individual.client",
                    "individual.prospect",
                    "individual.supplier",
                    "contact",
                    "opportunity",
                    "item",
                    "item.product",
                    "item.service",
                    "document",
                    "document.estimate",
                    "document.invoice",
                    "document.order",
                    "document.creditnote",
                    "staff"
                  ],
                  "type": "string"
                },
                "maxItems": 10,
                "description": "Restrict to these object types or subtypes (e.g. company.client, document.invoice). Omit to search everything."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "archived": {
                "type": "boolean",
                "description": "true = only archived records."
              }
            }
          },
          "annotations": {
            "title": "Search across Sellsy",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_companies",
          "title": "List companies",
          "description": "List companies (customers, prospects, suppliers) with paging. Needs companies.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: name, id, created_at, updated_at."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "List companies",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_search_companies",
          "title": "Search companies",
          "description": "Search companies by name, email, type (prospect/client/supplier), reference, VAT, SIRET, country, postal code, creation or update date. Needs companies.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: name, id, created_at, updated_at."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "filters": {
                "type": "object",
                "description": "Search filters as an object. Unknown keys are refused by Sellsy. Keys: name (exact), email (exact), type (\"prospect\"|\"client\"|\"supplier\" or an array), is_archived (bool), siret, vat, reference [..], id [ids], contacts [contact ids], country_code, postal_code [..], created {start,end} ISO date-times, updated_at {start,end} ISO date-times, number_of_employees {min,max}.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "Search companies",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_get_company",
          "title": "Get a company",
          "description": "Get one company by id. Needs companies.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Company id.",
                "exclusiveMinimum": 0
              },
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              }
            }
          },
          "annotations": {
            "title": "Get a company",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_company_contacts",
          "title": "List a company's contacts",
          "description": "List the contacts linked to one company (GET /companies/{id}/contacts). Needs companies.read and contacts.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "company_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "company_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Company id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List a company's contacts",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_individuals",
          "title": "List individuals",
          "description": "List individuals (private customers, prospects, suppliers) with paging. Needs individuals.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: name, id, created_at, updated_at."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "List individuals",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_search_individuals",
          "title": "Search individuals",
          "description": "Search individuals by name, email, type, reference, country, postal code, creation or update date. Needs individuals.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: name, id, created_at, updated_at."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "filters": {
                "type": "object",
                "description": "Search filters as an object. Unknown keys are refused by Sellsy. Keys: name (exact), email (exact), type (\"prospect\"|\"client\"|\"supplier\" or an array), is_archived (bool), reference [..], id [ids], country_code, postal_code [..], created {start,end} ISO date-times, updated_at {start,end} ISO date-times.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "Search individuals",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_get_individual",
          "title": "Get an individual",
          "description": "Get one individual by id. Needs individuals.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Individual id.",
                "exclusiveMinimum": 0
              },
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              }
            }
          },
          "annotations": {
            "title": "Get an individual",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_contacts",
          "title": "List contacts",
          "description": "List contacts (people at companies) with paging. Needs contacts.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, name, created_at."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "List contacts",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_search_contacts",
          "title": "Search contacts",
          "description": "Search contacts by last name, email, phone, linked company or individual, creation date. Needs contacts.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, name, created_at."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "filters": {
                "type": "object",
                "description": "Search filters as an object. Unknown keys are refused by Sellsy. Keys: last_name, email, phone_number, mobile_number, companies [company ids], individuals [individual ids], id [ids], is_linked (bool), country_code, postal_code [..], created {start,end} ISO date-times, updated {start,end} ISO date-times.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "Search contacts",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_get_contact",
          "title": "Get a contact",
          "description": "Get one contact by id. Needs contacts.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Contact id.",
                "exclusiveMinimum": 0
              },
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              }
            }
          },
          "annotations": {
            "title": "Get a contact",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_opportunities",
          "title": "List opportunities",
          "description": "List sales opportunities with paging. Needs opportunities.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, created, step_rank, due_date, amount."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "List opportunities",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_search_opportunities",
          "title": "Search opportunities",
          "description": "Search opportunities by name, number, pipeline, step, status (open/won/lost/cancelled/closed/late), amount, owner or due date. Needs opportunities.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, created, step_rank, due_date, amount."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "filters": {
                "type": "object",
                "description": "Search filters as an object. Unknown keys are refused by Sellsy. Keys: name, number, pipeline [pipeline ids], step [step ids], statuses [\"open\"|\"won\"|\"lost\"|\"cancelled\"|\"closed\"|\"late\"], amount {min,max}, owners [staff ids], assigned_staffs [staff ids], related_objects [{type:\"company\"|\"individual\",id}], created {start,end} ISO date-times, due_date {start,end} ISO date-times.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "Search opportunities",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_get_opportunity",
          "title": "Get an opportunity",
          "description": "Get one opportunity by id. Needs opportunities.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Opportunity id.",
                "exclusiveMinimum": 0
              },
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              }
            }
          },
          "annotations": {
            "title": "Get an opportunity",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_opportunity_pipelines",
          "title": "List opportunity pipelines",
          "description": "List the sales pipelines (needed to create an opportunity: pipeline id and step id). Needs opportunities.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              }
            }
          },
          "annotations": {
            "title": "List opportunity pipelines",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_pipeline_steps",
          "title": "List the steps of a pipeline",
          "description": "List the steps of one opportunity pipeline. Needs opportunities.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "pipeline_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "pipeline_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Pipeline id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List the steps of a pipeline",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_estimates",
          "title": "List estimates",
          "description": "List estimates (quotes) with paging. Needs estimates.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, numero, created, date, expiry_date, number, amount."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "List estimates",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_search_estimates",
          "title": "Search estimates",
          "description": "Search estimates by status, number, date, currency, owner, contact or related company/individual/opportunity. Needs estimates.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, numero, created, date, expiry_date, number, amount."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "filters": {
                "type": "object",
                "description": "Search filters as an object. Unknown keys are refused by Sellsy. Keys: status [\"draft\"|\"sent\"|\"read\"|\"accepted\"|\"refused\"|\"expired\"|\"advanced\"|\"partialinvoiced\"|\"invoiced\"|\"cancelled\"], number (exact), currency, date {start,end} dates YYYY-MM-DD, created {start,end} ISO date-times, updated {start,end} ISO date-times, owners [staff ids], assigned_staff_ids [..], contacts [contact ids], related_objects [{type,id}] (type company|individual|opportunity).",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "Search estimates",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_get_estimate",
          "title": "Get an estimate",
          "description": "Get one estimate by id, with its rows and amounts. Needs estimates.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Estimate id.",
                "exclusiveMinimum": 0
              },
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              }
            }
          },
          "annotations": {
            "title": "Get an estimate",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_invoices",
          "title": "List invoices",
          "description": "List invoices with paging. Needs invoices.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, number, created, date, amount, due_date."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "List invoices",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_search_invoices",
          "title": "Search invoices",
          "description": "Search invoices by status (draft/due/payinprogress/paid/late/cancelled), number, date, currency, owner, or related company/individual/opportunity. Use it for unpaid or late invoices. Needs invoices.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, number, created, date, amount, due_date."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "filters": {
                "type": "object",
                "description": "Search filters as an object. Unknown keys are refused by Sellsy. Keys: status [\"draft\"|\"due\"|\"payinprogress\"|\"paid\"|\"late\"|\"cancelled\"], number (exact), currency, date {start,end} dates YYYY-MM-DD, created {start,end} ISO date-times, updated {start,end} ISO date-times, owners [staff ids], assigned_staff_ids [..], contacts [contact ids], related_objects [{type,id}] (type company|individual|opportunity), is_deposit (bool), is_progress_invoice (bool).",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "Search invoices",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_get_invoice",
          "title": "Get an invoice",
          "description": "Get one invoice by id, with its rows, amounts and status. Needs invoices.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Invoice id.",
                "exclusiveMinimum": 0
              },
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              }
            }
          },
          "annotations": {
            "title": "Get an invoice",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_invoice_payments",
          "title": "List an invoice's payments",
          "description": "List the payments linked to one invoice. Needs invoices.read and payments.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "invoice_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "invoice_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Invoice id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List an invoice's payments",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_orders",
          "title": "List orders",
          "description": "List orders with paging. Needs orders.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, number, created, date, amount, due_date, order_status."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "List orders",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_search_orders",
          "title": "Search orders",
          "description": "Search orders by status or delivery status, or related company/individual/opportunity. Needs orders.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, number, created, date, amount, due_date, order_status."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "filters": {
                "type": "object",
                "description": "Search filters as an object. Unknown keys are refused by Sellsy. Keys: status [\"draft\"|\"sent\"|\"read\"|\"accepted\"|\"expired\"|\"advanced\"|\"invoiced\"|\"partialinvoiced\"|\"cancelled\"], order_status [\"none\"|\"wait\"|\"picking\"|\"sent\"|\"partialsent\"], related_objects [{type,id}], updated {start,end} ISO date-times.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "Search orders",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_get_order",
          "title": "Get an order",
          "description": "Get one order by id. Needs orders.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Order id.",
                "exclusiveMinimum": 0
              },
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              }
            }
          },
          "annotations": {
            "title": "Get an order",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_credit_notes",
          "title": "List credit notes",
          "description": "List credit notes with paging. Needs credit-notes.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, number, created, date, amount."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "List credit notes",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_get_credit_note",
          "title": "Get a credit note",
          "description": "Get one credit note by id. Needs credit-notes.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Credit note id.",
                "exclusiveMinimum": 0
              },
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              }
            }
          },
          "annotations": {
            "title": "Get a credit note",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_items",
          "title": "List items",
          "description": "List catalog items (products, services, shipping, packaging) with paging. Needs items.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, created_at."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "List items",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_search_items",
          "title": "Search items",
          "description": "Search catalog items by name, reference or type. Needs items.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, created_at."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "filters": {
                "type": "object",
                "description": "Search filters as an object. Unknown keys are refused by Sellsy. Keys: name, reference, type [\"product\"|\"service\"|\"shipping\"|\"packaging\"], is_archived (bool).",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "Search items",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_get_item",
          "title": "Get an item",
          "description": "Get one catalog item by id. Needs items.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Item id.",
                "exclusiveMinimum": 0
              },
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              }
            }
          },
          "annotations": {
            "title": "Get an item",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_search_payments",
          "title": "Search payments",
          "description": "Search payments by status (pending/confirmed/rejected/failed/refund) or related company/individual. Needs payments.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, paid_date."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "filters": {
                "type": "object",
                "description": "Search filters as an object. Unknown keys are refused by Sellsy. Keys: status [\"pending\"|\"confirmed\"|\"rejected\"|\"failed\"|\"refund\"], related_objects [{type,id}].",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "Search payments",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_tasks",
          "title": "List tasks",
          "description": "List tasks with paging. Needs tasks.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, due_date."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "List tasks",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_search_tasks",
          "title": "Search tasks",
          "description": "Search tasks by status (todo/done), owner, assignee, label, due date or related record. Needs tasks.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, due_date."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "filters": {
                "type": "object",
                "description": "Search filters as an object. Unknown keys are refused by Sellsy. Keys: statuses [\"todo\"|\"done\"], owners [staff ids], assigned_staffs [staff ids], labels [label ids], priority {min,max} 0-1, companies [ids], individuals [ids], contacts [ids], related_objects [{type,id}], created {start,end} ISO date-times, due_date {start,end} ISO date-times.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "Search tasks",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_get_task",
          "title": "Get a task",
          "description": "Get one task by id. Needs tasks.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Task id.",
                "exclusiveMinimum": 0
              },
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              }
            }
          },
          "annotations": {
            "title": "Get a task",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_task_labels",
          "title": "List task labels",
          "description": "List the task labels (a label id is required to create a task). Needs tasks.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              }
            }
          },
          "annotations": {
            "title": "List task labels",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_search_comments",
          "title": "Search comments (notes)",
          "description": "Search comments and notes by author, date, parent comment or the company/individual/contact they are attached to. Needs comments.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, updated, created."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "filters": {
                "type": "object",
                "description": "Search filters as an object. Unknown keys are refused by Sellsy. Keys: owners [staff ids], companies [ids], individuals [ids], contacts [ids], parent_id, related_objects [{type,id}], created {start,end} ISO date-times, updated {start,end} ISO date-times.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "Search comments (notes)",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_list_staffs",
          "title": "List staff members",
          "description": "List the staff members of the account (the list may hold only yourself, depending on the Sellsy plan). Needs staffs.read.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "embed": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[a-z_]+$|^cf\\.\\d+$",
                  "maxLength": 60
                },
                "maxItems": 20,
                "description": "Related objects to include (each may need an extra scope and is null without it), e.g. [\"invoicing_address\",\"main_contact\",\"cf.1542\"]."
              },
              "field": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9.\\[\\]_-]+$",
                  "maxLength": 100
                },
                "maxItems": 40,
                "description": "Only return these fields, e.g. [\"id\",\"name\"] or [\"address.id\"], to keep replies small."
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Records per page, 1-100 (default 25)."
              },
              "order": {
                "type": "string",
                "pattern": "^[a-z_]+$",
                "maxLength": 40,
                "description": "Sort field: id, name."
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 0
                  }
                ],
                "description": "Paging cursor. Leave out for the first page. If the previous reply's pagination.offset is a string, pass it back unchanged for the next page. Only a number sets numeric paging: then pass the previous offset plus limit (0, 25, 50, ... for limit 25) until count is below limit."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort direction (default asc)."
              }
            }
          },
          "annotations": {
            "title": "List staff members",
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_create_company",
          "title": "Create a company",
          "description": "WRITE: create a company record in Sellsy (a prospect, client or supplier). Needs companies.write. Nothing is sent to the company.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "name",
              "type"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 250,
                "minLength": 1,
                "description": "Company name."
              },
              "note": {
                "type": "string",
                "maxLength": 5000
              },
              "type": {
                "enum": [
                  "prospect",
                  "client",
                  "supplier"
                ],
                "type": "string",
                "description": "Relationship type."
              },
              "email": {
                "type": "string",
                "format": "email",
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "maxLength": 255
              },
              "website": {
                "type": "string",
                "maxLength": 300
              },
              "owner_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Staff id of the owner.",
                "exclusiveMinimum": 0
              },
              "reference": {
                "type": "string",
                "maxLength": 100,
                "description": "Your own reference."
              },
              "phone_number": {
                "type": "string",
                "maxLength": 50
              },
              "mobile_number": {
                "type": "string",
                "maxLength": 50
              },
              "number_of_employees": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0
              },
              "main_activity_description": {
                "type": "string",
                "maxLength": 1000
              }
            }
          },
          "annotations": {
            "title": "Create a company",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_create_individual",
          "title": "Create an individual",
          "description": "WRITE: create an individual (a private person as prospect, client or supplier) in Sellsy. Needs individuals.write.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "last_name",
              "type"
            ],
            "properties": {
              "note": {
                "type": "string",
                "maxLength": 5000
              },
              "type": {
                "enum": [
                  "prospect",
                  "client",
                  "supplier"
                ],
                "type": "string",
                "description": "Relationship type."
              },
              "email": {
                "type": "string",
                "format": "email",
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "maxLength": 255
              },
              "website": {
                "type": "string",
                "maxLength": 300
              },
              "civility": {
                "enum": [
                  "mr",
                  "mrs",
                  "ms"
                ],
                "type": "string"
              },
              "owner_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Staff id of the owner.",
                "exclusiveMinimum": 0
              },
              "last_name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Last name."
              },
              "reference": {
                "type": "string",
                "maxLength": 100
              },
              "first_name": {
                "type": "string",
                "maxLength": 200
              },
              "phone_number": {
                "type": "string",
                "maxLength": 50
              },
              "mobile_number": {
                "type": "string",
                "maxLength": 50
              }
            }
          },
          "annotations": {
            "title": "Create an individual",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_create_contact",
          "title": "Create a contact",
          "description": "WRITE: create a contact (a person) in Sellsy. It is not linked to a company by this call. Needs contacts.write.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "last_name"
            ],
            "properties": {
              "note": {
                "type": "string",
                "maxLength": 5000
              },
              "email": {
                "type": "string",
                "format": "email",
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                "maxLength": 255
              },
              "civility": {
                "enum": [
                  "mr",
                  "mrs",
                  "ms"
                ],
                "type": "string"
              },
              "owner_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Staff id of the owner.",
                "exclusiveMinimum": 0
              },
              "position": {
                "type": "string",
                "maxLength": 200,
                "description": "Job title."
              },
              "last_name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Last name."
              },
              "first_name": {
                "type": "string",
                "maxLength": 200
              },
              "phone_number": {
                "type": "string",
                "maxLength": 50
              },
              "mobile_number": {
                "type": "string",
                "maxLength": 50
              }
            }
          },
          "annotations": {
            "title": "Create a contact",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_create_opportunity",
          "title": "Create an opportunity",
          "description": "WRITE: create a sales opportunity linked to a company, individual or contact. Needs a pipeline id and one of its step ids (see sellsy_list_opportunity_pipelines and sellsy_list_pipeline_steps). Needs opportunities.write.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "name",
              "pipeline",
              "step",
              "related"
            ],
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 250,
                "minLength": 1,
                "description": "Opportunity name."
              },
              "note": {
                "type": "string",
                "maxLength": 5000
              },
              "step": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Step id inside that pipeline.",
                "exclusiveMinimum": 0
              },
              "amount": {
                "type": "string",
                "pattern": "^\\d+(\\.\\d{1,4})?$",
                "description": "Potential amount as a decimal string, e.g. \"1500.00\" (account currency)."
              },
              "related": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type",
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "description": "Id of the record.",
                      "exclusiveMinimum": 0
                    },
                    "type": {
                      "enum": [
                        "company",
                        "individual",
                        "contact"
                      ],
                      "type": "string"
                    }
                  },
                  "description": "The record this belongs to."
                },
                "maxItems": 3,
                "minItems": 1,
                "description": "Who it is for: one company or one individual (required), plus optional contacts."
              },
              "due_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Due date YYYY-MM-DD."
              },
              "owner_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Staff id of the owner (default: the API client's staff).",
                "exclusiveMinimum": 0
              },
              "pipeline": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Pipeline id.",
                "exclusiveMinimum": 0
              },
              "contact_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "description": "Contact id.",
                  "exclusiveMinimum": 0
                },
                "maxItems": 20
              },
              "probability": {
                "type": "integer",
                "maximum": 100,
                "minimum": 0
              },
              "assigned_staff_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "description": "Staff id.",
                  "exclusiveMinimum": 0
                },
                "maxItems": 20
              }
            }
          },
          "annotations": {
            "title": "Create an opportunity",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_move_opportunity",
          "title": "Move an opportunity to another step",
          "description": "WRITE: move an existing opportunity to another step of its pipeline, or to a step of another pipeline (then pass that pipeline too). Only the step (and the pipeline) change; the name, amount, status and links stay. Get the ids from sellsy_get_opportunity, sellsy_list_opportunity_pipelines and sellsy_list_pipeline_steps. Needs opportunities.write.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "id",
              "step"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Opportunity id.",
                "exclusiveMinimum": 0
              },
              "step": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Destination step id (from sellsy_list_pipeline_steps).",
                "exclusiveMinimum": 0
              },
              "pipeline": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Destination pipeline id. Required when the step is in another pipeline; leave out to stay in the current pipeline.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Move an opportunity",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "sellsy_create_comment",
          "title": "Add a comment (note)",
          "description": "WRITE: add a comment (note) to a company, individual, contact, opportunity or document. Visible to the Sellsy staff, not sent to the customer. Needs comments.write.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "description",
              "related_type",
              "related_id"
            ],
            "properties": {
              "related_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Id of that record.",
                "exclusiveMinimum": 0
              },
              "description": {
                "type": "string",
                "maxLength": 10000,
                "minLength": 1,
                "description": "The comment text."
              },
              "related_type": {
                "enum": [
                  "company",
                  "individual",
                  "contact",
                  "opportunity",
                  "item",
                  "estimate",
                  "creditnote",
                  "order",
                  "delivery",
                  "proforma",
                  "invoice"
                ],
                "type": "string",
                "description": "What it is attached to."
              },
              "mentioned_staff_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "description": "Staff id.",
                  "exclusiveMinimum": 0
                },
                "maxItems": 20,
                "description": "Staff to notify."
              }
            }
          },
          "annotations": {
            "title": "Add a comment",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "sellsy_create_task",
          "title": "Create a task",
          "description": "WRITE: create a task, optionally attached to a record and assigned to staff. Needs a label id (see sellsy_list_task_labels) and a due date-time. Needs tasks.write.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "due_date",
              "label_id"
            ],
            "properties": {
              "title": {
                "type": "string",
                "maxLength": 250
              },
              "due_date": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                "description": "Due date and time, ISO 8601 with offset, e.g. 2026-11-03T09:00:00+01:00."
              },
              "label_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Task label id.",
                "exclusiveMinimum": 0
              },
              "owner_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Staff id of the owner.",
                "exclusiveMinimum": 0
              },
              "priority": {
                "type": "integer",
                "maximum": 1,
                "minimum": 0,
                "description": "Priority level, 0 or 1."
              },
              "is_private": {
                "type": "boolean"
              },
              "related_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Id of that record.",
                "exclusiveMinimum": 0
              },
              "description": {
                "type": "string",
                "maxLength": 5000
              },
              "related_type": {
                "enum": [
                  "opportunity",
                  "company",
                  "individual",
                  "contact",
                  "estimate",
                  "invoice",
                  "creditnote",
                  "order",
                  "delivery",
                  "item"
                ],
                "type": "string",
                "description": "Record the task is about (give related_id too)."
              },
              "assigned_staff_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "description": "Staff id.",
                  "exclusiveMinimum": 0
                },
                "maxItems": 20
              }
            }
          },
          "annotations": {
            "title": "Create a task",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": [
        {
          "name": "getting_started",
          "description": "What you can do with Sellsy here, with example requests to try."
        },
        {
          "name": "find_late_or_unpaid_invoices",
          "description": "Searches invoices by status, such as due or late, date, currency or related company, and lists the payments on an invoice."
        },
        {
          "name": "look_up_a_company_with_its_contacts_and_quotes",
          "description": "Finds a company by name, email, VAT or other fields, lists its contacts, and searches the estimates linked to a company."
        },
        {
          "name": "review_open_opportunities_in_the_pipeline",
          "description": "Searches opportunities by pipeline, step, status, amount, owner or due date, and lists the pipelines and their steps."
        },
        {
          "name": "create_an_opportunity_for_a_customer",
          "description": "Looks up the pipeline and its steps, then creates an opportunity linked to a company, individual or contact."
        },
        {
          "name": "add_a_company_individual_or_contact",
          "description": "Creates a company, a private individual or a contact person. Companies and individuals can be prospects, clients or suppliers."
        },
        {
          "name": "create_a_task_or_add_a_note_to_a_record",
          "description": "Creates a task with a label and due date-time, or adds a note to a company, individual, contact, opportunity or document. Notes are not sent to the customer."
        }
      ]
    },
    "instructions": "Tools for Sellsy, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: \"Which invoices are late or unpaid, and how much does each customer owe?\"; \"Find the company Dupont and list its contacts, open opportunities and latest estimates.\"; \"Show my open opportunities in the sales pipeline with their amounts and due dates.\". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Sellsy data. Free plan: 50 tool calls per month. Run sellsy_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run sellsy_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run sellsy_upgrade without a plan: it returns both plans, each with a payment link for the user to open. sellsy_cancel_subscription cancels Pro at the end of the paid period."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}