{
  "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": "api.fynepdf.com",
    "site": "fynepdf.com",
    "addresses": [
      {
        "address": "104.21.68.92",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.64.0/20",
          "country": "US"
        }
      },
      {
        "address": "172.67.192.188",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.192.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3036::ac43:c0bc",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3036::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::6815:445c",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.68.92",
          "172.67.192.188",
          "2606:4700:3036::ac43:c0bc",
          "2606:4700:3030::6815:445c"
        ],
        "first_seen": "2026-11-22T14:39:03.644Z",
        "last_seen": "2026-11-22T14:39:03.644Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "fynepdf",
      "version": "1.0.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1,
      "sample": [
        {
          "id": "36169",
          "url": "https://mcp.qreate.gg/mcp",
          "server_name": "io.github.qreate-gg/qreate-mcp",
          "last_state": "auth_required",
          "last_checked_at": "2026-11-21T16:49:02.920Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.fynepdf",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/fynepdf/fynepdf-mcp",
      "total": 0,
      "sample": []
    },
    "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": "10139",
    "server_name": "com.fynepdf/fynepdf",
    "url": "https://api.fynepdf.com/mcp",
    "host": "api.fynepdf.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T14:39:03.644Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "bc2e9c651f6c05381ee107d3ba112c3c9780d31e91b6dc85ca0d22bdba5e61d6",
    "first_listed_at": "2026-11-21T08:37:00.789Z",
    "created_at": "2026-11-21T05:50:06.604Z",
    "resolved_addresses": [
      "104.21.68.92",
      "172.67.192.188",
      "2606:4700:3036::ac43:c0bc",
      "2606:4700:3030::6815:445c"
    ]
  },
  "server": {
    "name": "com.fynepdf/fynepdf",
    "title": "FynePDF",
    "description": "Compress, merge, convert, OCR, redact and sign PDFs, generate new ones, and read them with AI.",
    "version": "0.1.0",
    "registry_status": "active",
    "repository_url": "https://github.com/fynepdf/fynepdf-mcp",
    "website_url": "https://fynepdf.com/developers/mcp",
    "published_at": "2026-11-01T15:42:12.070Z",
    "updated_at": "2026-11-01T15:42:12.070Z",
    "first_seen": "2026-11-21T05:50:05.979Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "vector-search",
      "writes-files"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:11:09.880Z"
  },
  "operator": {
    "key": "fynepdf.com",
    "name": "fynepdf.com",
    "platform": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 938,
    "first_check_in_window": "2026-11-21T08:37:00.789Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "bc2e9c651f6c05381ee107d3ba112c3c9780d31e91b6dc85ca0d22bdba5e61d6",
    "tools": 27,
    "resources": 2,
    "prompts": 0,
    "first_seen": "2026-11-21T08:37:01.773Z",
    "tool_names": [
      "search_docs",
      "list_actions",
      "app_ready",
      "preview_file",
      "upload_file",
      "import_file_from_url",
      "get_file",
      "list_library_files",
      "list_files",
      "save_to_library",
      "merge_pdfs",
      "split_pdf",
      "edit_pages",
      "stamp_pdf",
      "compress_pdf",
      "protect_pdf",
      "redact_pdf",
      "convert_from_pdf",
      "convert_to_pdf",
      "ocr_pdf",
      "create_pdf",
      "sign_pdf",
      "ask_pdf",
      "summarize_pdf",
      "extract_data",
      "smart_edit",
      "get_job"
    ],
    "declared": {
      "tools": [
        {
          "name": "search_docs",
          "title": "Search FynePDF docs",
          "description": "Search the FynePDF API and MCP documentation: actions, parameters, pricing, files, jobs and errors.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "query"
            ],
            "properties": {
              "query": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "results"
            ],
            "properties": {
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "title",
                    "url",
                    "snippet"
                  ],
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "snippet": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Search FynePDF docs",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_actions",
          "title": "List FynePDF actions",
          "description": "Every action FynePDF can run on a file (the REST API's job steps), with what it takes, what it makes and its price in API credits.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "actions"
            ],
            "properties": {
              "actions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "title",
                    "description",
                    "accepts",
                    "output",
                    "price"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "price": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "output": {
                      "type": "string"
                    },
                    "accepts": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "description": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List FynePDF actions",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "app_ready",
          "title": "Card ready",
          "description": "FynePDF's in-chat cards say once which host bridge they run in, for diagnosis. Not for conversation.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "app",
              "bridge"
            ],
            "properties": {
              "app": {
                "enum": [
                  "result",
                  "upload"
                ],
                "type": "string"
              },
              "host": {
                "type": "string",
                "maxLength": 60
              },
              "frame": {
                "type": "string",
                "maxLength": 20,
                "description": "Frame size once the host sized it."
              },
              "phase": {
                "type": "string",
                "maxLength": 10,
                "description": "When the card reported, e.g. 2s."
              },
              "trace": {
                "type": "string",
                "maxLength": 2000,
                "description": "What the host posted to the card, with times."
              },
              "bridge": {
                "enum": [
                  "openai",
                  "mcp-apps"
                ],
                "type": "string"
              },
              "notify": {
                "type": "boolean",
                "description": "Whether ChatGPT offered notifyIntrinsicHeight."
              },
              "content": {
                "type": "number",
                "description": "The height the card asked for."
              },
              "display": {
                "type": "string",
                "maxLength": 20
              },
              "viewport": {
                "type": "string",
                "maxLength": 20,
                "description": "Frame size when the card opened."
              },
              "max_height": {
                "type": "number"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "ok"
            ],
            "properties": {
              "ok": {
                "type": "boolean"
              },
              "max_mb": {
                "type": "number",
                "description": "The upload card's limit for this person."
              },
              "max_bytes": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Card ready",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "preview_file",
          "title": "Preview a PDF",
          "description": "The first pages of a PDF as images, for FynePDF's result viewer. Not needed in conversation: use get_file for a link.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "file_id"
            ],
            "properties": {
              "pages": {
                "type": "integer",
                "maximum": 5,
                "minimum": 1
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "total_pages",
              "pages"
            ],
            "properties": {
              "pages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "page",
                    "url"
                  ],
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "page": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "total_pages": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Preview a PDF",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "upload_file",
          "title": "Upload a file",
          "description": "Bring a file into FynePDF. Shows a drop zone where the app supports it (Claude, ChatGPT, VS Code); it takes several files at once, e.g. for a merge, and reports their file_ids in order. With file_name and size_bytes it also returns a signed upload_url and a ready curl command, for a code sandbox or agent to PUT the bytes; the file_id works once the upload is done. ChatGPT users can just pass the attached file to any tool instead.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "file_name": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "Name with extension, e.g. report.pdf."
              },
              "size_bytes": {
                "type": "integer",
                "maximum": 9007199254740991,
                "exclusiveMinimum": 0
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "message"
            ],
            "properties": {
              "curl": {
                "type": "string"
              },
              "max_mb": {
                "type": "number",
                "description": "The same limit in MB as FynePDF states it: say this one."
              },
              "file_id": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "filename": {
                "type": "string"
              },
              "max_bytes": {
                "type": "number"
              },
              "expires_in": {
                "type": "number"
              },
              "upload_url": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Upload a file",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "import_file_from_url",
          "title": "Import a file from a URL",
          "description": "Fetch a PDF, Office file, image or EPUB from a public link into FynePDF and get its file_id.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "url"
            ],
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "file_name": {
                "type": "string",
                "maxLength": 200
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "file_id",
              "filename",
              "kind",
              "bytes",
              "pages",
              "download_url",
              "expires_at"
            ],
            "properties": {
              "kind": {
                "type": "string"
              },
              "bytes": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "pages": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "file_id": {
                "type": "string"
              },
              "filename": {
                "type": "string"
              },
              "expires_at": {
                "type": "string"
              },
              "download_url": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Import a file from a URL",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_file",
          "title": "Get a file",
          "description": "A file's details and a fresh download link (valid 1 hour).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "file_id"
            ],
            "properties": {
              "file_id": {
                "type": "string",
                "pattern": "^file_"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "file_id",
              "filename",
              "kind",
              "bytes",
              "pages",
              "download_url",
              "expires_at",
              "status"
            ],
            "properties": {
              "kind": {
                "type": "string"
              },
              "bytes": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "pages": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "status": {
                "type": "string"
              },
              "file_id": {
                "type": "string"
              },
              "filename": {
                "type": "string"
              },
              "expires_at": {
                "type": "string"
              },
              "download_url": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get a file",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_library_files",
          "title": "List Library files",
          "description": "Files saved in the person's FynePDF Library, newest first (pinned on top). Pass an id as library_file_id to any tool.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1
              },
              "query": {
                "type": "string",
                "maxLength": 200,
                "description": "Part of a file name."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "files"
            ],
            "properties": {
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "library_file_id",
                    "filename",
                    "bytes",
                    "pages",
                    "created_at"
                  ],
                  "properties": {
                    "bytes": {
                      "type": "number"
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "filename": {
                      "type": "string"
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "library_file_id": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List Library files",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_files",
          "title": "List recent files",
          "description": "Files on FynePDF from the last 24 hours, newest first: what the person dropped in the upload box, other uploads and imports, and results. Use it to find the file_id of a file the person says they uploaded, by its name.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 50,
                "minimum": 1,
                "description": "Default 10."
              },
              "query": {
                "type": "string",
                "maxLength": 200,
                "description": "Part of a file name."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "files"
            ],
            "properties": {
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "bytes",
                    "pages",
                    "source",
                    "created_at"
                  ],
                  "properties": {
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "source": {
                      "type": "string"
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "created_at": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List recent files",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "save_to_library",
          "title": "Save to Library",
          "description": "Keep a result in the person's FynePDF Library (fynepdf.com/library), so it isn't deleted after 24 hours.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "file_id"
            ],
            "properties": {
              "file_id": {
                "type": "string",
                "pattern": "^file_"
              },
              "file_name": {
                "type": "string",
                "maxLength": 200
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "library_file_id",
              "filename",
              "url"
            ],
            "properties": {
              "url": {
                "type": "string"
              },
              "filename": {
                "type": "string"
              },
              "library_file_id": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Save to Library",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "merge_pdfs",
          "title": "Merge PDFs",
          "description": "Join PDFs into one, in the order given (file_ids, then files, then file_urls). Each part gets a bookmark with its name.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "download_url",
                    "file_id"
                  ],
                  "properties": {
                    "file_id": {
                      "type": "string"
                    },
                    "file_name": {
                      "type": "string"
                    },
                    "mime_type": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
                },
                "maxItems": 20,
                "description": "Files the person attached in ChatGPT, in order (filled in by ChatGPT)."
              },
              "file_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^file_"
                },
                "maxItems": 20,
                "description": "FynePDF file_ids, in order."
              },
              "file_urls": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uri"
                },
                "maxItems": 20,
                "description": "Public links to the files, in order."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Merge PDFs",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "split_pdf",
          "title": "Split PDF",
          "description": "Split a PDF into parts by page ranges (\"1-3\", \"4\", \"5-9\") or into parts no bigger than max_part_mb. Returns a ZIP of the parts.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "ranges": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "maxItems": 100,
                "minItems": 1
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "max_part_mb": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Split PDF",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "edit_pages",
          "title": "Edit pages",
          "description": "Change a PDF's pages (counted from 1): delete pages, keep only some pages, put pages in a new order (pages left out are dropped), or rotate all pages or a range.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "operation"
            ],
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "angle": {
                "anyOf": [
                  {
                    "type": "number",
                    "const": 90
                  },
                  {
                    "type": "number",
                    "const": 180
                  },
                  {
                    "type": "number",
                    "const": 270
                  }
                ]
              },
              "pages": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "minItems": 1,
                "description": "For delete and keep: the pages. For reorder: every page to keep, in the new order."
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "operation": {
                "enum": [
                  "delete",
                  "keep",
                  "reorder",
                  "rotate"
                ],
                "type": "string"
              },
              "page_range": {
                "type": "string",
                "description": "For rotate: \"all\" (default), a page like \"4\" or a range like \"2-7\"."
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Edit pages",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "stamp_pdf",
          "title": "Add page numbers or a watermark",
          "description": "Number the pages, stamp a text watermark on every page, or both in one go. Page number format uses %d twice, e.g. \"Page %d of %d\".",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "watermark": {
                "type": "object",
                "required": [
                  "text"
                ],
                "properties": {
                  "size": {
                    "type": "number",
                    "maximum": 300,
                    "minimum": 6
                  },
                  "text": {
                    "type": "string",
                    "maxLength": 200,
                    "minLength": 1
                  },
                  "color": {
                    "type": "string",
                    "pattern": "^#[0-9a-fA-F]{6}$"
                  },
                  "opacity": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "rotation": {
                    "type": "number",
                    "maximum": 360,
                    "minimum": -360
                  }
                }
              },
              "page_numbers": {
                "type": "object",
                "properties": {
                  "format": {
                    "type": "string",
                    "maxLength": 60
                  },
                  "position": {
                    "enum": [
                      "top-left",
                      "top-center",
                      "top-right",
                      "bottom-left",
                      "bottom-center",
                      "bottom-right"
                    ],
                    "type": "string"
                  },
                  "start_number": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": 1
                  },
                  "skip_cover_page": {
                    "type": "boolean"
                  }
                }
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Add page numbers or a watermark",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "compress_pdf",
          "title": "Compress PDF",
          "description": "Make a PDF smaller: at a level (low, medium, high) or under a target size in MB. The result says whether the target was met.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "level": {
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "type": "string"
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "target_size_mb": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Compress PDF",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "protect_pdf",
          "title": "Lock, unlock or flatten a PDF",
          "description": "lock: add a password needed to open it. unlock: remove a password you know. flatten: burn form fields and annotations into the page so they can't be changed.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "operation"
            ],
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "password": {
                "type": "string",
                "maxLength": 128,
                "minLength": 1
              },
              "operation": {
                "enum": [
                  "lock",
                  "unlock",
                  "flatten"
                ],
                "type": "string"
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Lock, unlock or flatten a PDF",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "redact_pdf",
          "title": "Redact PDF",
          "description": "Remove text for real, not just cover it: name the exact text to remove, or describe it (\"all names, emails and account numbers\") and FynePDF finds it. The result is checked: if any of the text can still be found, nothing is returned. The original file is kept.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "find": {
                "type": "string",
                "maxLength": 1000,
                "minLength": 1,
                "description": "What to remove, in words (uses AI to find it)."
              },
              "text": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 200,
                  "minLength": 1
                },
                "maxItems": 500,
                "minItems": 1
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "match_case": {
                "type": "boolean"
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              },
              "remove_metadata": {
                "type": "boolean"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "found": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "page",
                    "text"
                  ],
                  "properties": {
                    "page": {
                      "type": "number"
                    },
                    "text": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Redact PDF",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "convert_from_pdf",
          "title": "Convert a PDF",
          "description": "Turn a PDF into Word (.docx), Excel or CSV (tables found on the page), images (PNG/JPEG in a ZIP), Markdown, EPUB, PDF/A (archival), LaTeX, or a grayscale PDF. For tables read by AI (scans, bank statements), use extract_data.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "to"
            ],
            "properties": {
              "to": {
                "enum": [
                  "word",
                  "excel",
                  "csv",
                  "images",
                  "markdown",
                  "epub",
                  "pdfa",
                  "latex",
                  "grayscale"
                ],
                "type": "string"
              },
              "dpi": {
                "type": "integer",
                "maximum": 300,
                "minimum": 36
              },
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "image_format": {
                "enum": [
                  "png",
                  "jpg"
                ],
                "type": "string"
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Convert a PDF",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "convert_to_pdf",
          "title": "Convert to PDF",
          "description": "Make a PDF from Word, Excel or PowerPoint files, images (one page each, in order), an EPUB, or a public web page (url). For content you write yourself, use create_pdf.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri",
                "description": "A public web page to render as a PDF."
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "download_url",
                    "file_id"
                  ],
                  "properties": {
                    "file_id": {
                      "type": "string"
                    },
                    "file_name": {
                      "type": "string"
                    },
                    "mime_type": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
                },
                "maxItems": 20,
                "description": "Files the person attached in ChatGPT, in order (filled in by ChatGPT)."
              },
              "file_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^file_"
                },
                "maxItems": 20,
                "description": "FynePDF file_ids, in order."
              },
              "file_urls": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uri"
                },
                "maxItems": 20,
                "description": "Public links to the files, in order."
              },
              "page_layout": {
                "enum": [
                  "desktop",
                  "tablet",
                  "mobile"
                ],
                "type": "string",
                "description": "For url."
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Convert to PDF",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "ocr_pdf",
          "title": "OCR: make a scan searchable",
          "description": "Add a text layer to scanned pages, so the text can be searched, copied and read by AI. Takes a scanned PDF or an image (a photo or scan as PNG, JPEG, TIFF, GIF, WebP or HEIC), which comes back as a searchable PDF. Reads 90 languages and finds the language itself; pass language only when the person names one.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "language": {
                "type": "string",
                "description": "A BCP 47 code such as \"en\", \"ne\", \"hi\", \"ar\", \"zh-Hans\" or \"ja\". Left out (\"auto\"), the language is found from the file."
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "OCR: make a scan searchable",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "create_pdf",
          "title": "Create a PDF",
          "description": "Turn Markdown or HTML you write into a well-set PDF: a report, invoice, letter, resume or plain document. Tables, headings, lists, images by URL and page breaks work; header, footer and page numbers are optional. For an invoice, resume or letter, prefer data (the fields, with template set to match): it is laid out properly, and an invoice is added up for you (leave out amounts, subtotal, tax or total to have them worked out; give them and they are checked). extract_data's invoice result can be passed as data as it is. Use it whenever the person wants a document they can download, print or send.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "data": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "line_items"
                    ],
                    "properties": {
                      "tax": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "pattern": "\\d",
                            "maxLength": 40
                          }
                        ],
                        "description": "Left out: tax_rate of the subtotal after discount."
                      },
                      "notes": {
                        "type": "string",
                        "maxLength": 4000
                      },
                      "total": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "pattern": "\\d",
                            "maxLength": 40
                          }
                        ],
                        "description": "Left out: subtotal − discount + tax + shipping."
                      },
                      "locale": {
                        "type": "string",
                        "maxLength": 20,
                        "description": "Number format, e.g. \"en-IN\" for 1,00,000.00. Default \"en-US\"."
                      },
                      "vendor": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "email": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "phone": {
                            "type": "string",
                            "maxLength": 100
                          },
                          "tax_id": {
                            "type": "string",
                            "maxLength": 100
                          },
                          "address": {
                            "type": "string",
                            "maxLength": 1000,
                            "description": "Lines separated by newlines."
                          },
                          "logo_url": {
                            "type": "string",
                            "format": "uri",
                            "maxLength": 2000,
                            "description": "https image, top left."
                          }
                        }
                      },
                      "heading": {
                        "type": "string",
                        "maxLength": 60,
                        "description": "Printed at the top. Default \"Invoice\"; e.g. \"Tax invoice\", \"Quote\"."
                      },
                      "currency": {
                        "type": "string",
                        "maxLength": 12,
                        "description": "An ISO code (\"USD\", \"NPR\") for proper formatting, or a symbol (\"Rs.\")."
                      },
                      "customer": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "email": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "phone": {
                            "type": "string",
                            "maxLength": 100
                          },
                          "tax_id": {
                            "type": "string",
                            "maxLength": 100
                          },
                          "address": {
                            "type": "string",
                            "maxLength": 1000,
                            "description": "Lines separated by newlines."
                          }
                        }
                      },
                      "discount": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "pattern": "\\d",
                            "maxLength": 40
                          }
                        ],
                        "description": "Taken off the subtotal."
                      },
                      "due_date": {
                        "type": "string",
                        "maxLength": 60
                      },
                      "shipping": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "pattern": "\\d",
                            "maxLength": 40
                          }
                        ],
                        "description": "A number, or text as printed (\"1,250.00\")."
                      },
                      "subtotal": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "pattern": "\\d",
                            "maxLength": 40
                          }
                        ],
                        "description": "Left out: the lines added up."
                      },
                      "tax_rate": {
                        "type": "number",
                        "maximum": 100,
                        "minimum": 0,
                        "description": "Percent, e.g. 13 for 13%."
                      },
                      "tax_label": {
                        "type": "string",
                        "maxLength": 40,
                        "description": "Default \"Tax\"; e.g. \"VAT 13%\"."
                      },
                      "issue_date": {
                        "type": "string",
                        "maxLength": 60,
                        "description": "Printed as given."
                      },
                      "line_items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "description"
                          ],
                          "properties": {
                            "amount": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string",
                                  "pattern": "\\d",
                                  "maxLength": 40
                                }
                              ],
                              "description": "Left out: quantity × unit_price."
                            },
                            "quantity": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string",
                                  "pattern": "\\d",
                                  "maxLength": 40
                                }
                              ],
                              "description": "A number, or text as printed (\"1,250.00\")."
                            },
                            "unit_price": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "string",
                                  "pattern": "\\d",
                                  "maxLength": 40
                                }
                              ],
                              "description": "A number, or text as printed (\"1,250.00\")."
                            },
                            "description": {
                              "type": "string",
                              "maxLength": 1000
                            }
                          }
                        },
                        "maxItems": 500,
                        "minItems": 1
                      },
                      "amount_paid": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "string",
                            "pattern": "\\d",
                            "maxLength": 40
                          }
                        ],
                        "description": "Prints a balance due."
                      },
                      "invoice_number": {
                        "type": "string",
                        "maxLength": 100
                      },
                      "payment_details": {
                        "type": "string",
                        "maxLength": 2000,
                        "description": "Bank or payment instructions."
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "name"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "maxLength": 120
                      },
                      "skills": {
                        "anyOf": [
                          {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 80
                            },
                            "maxItems": 80
                          },
                          {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "label",
                                "items"
                              ],
                              "properties": {
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 80
                                  },
                                  "maxItems": 40
                                },
                                "label": {
                                  "type": "string",
                                  "maxLength": 80
                                }
                              }
                            },
                            "maxItems": 20
                          }
                        ],
                        "description": "A list, or groups: [{ \"label\": \"Languages\", \"items\": [\"Nepali\", \"English\"] }]."
                      },
                      "contact": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 200
                        },
                        "maxItems": 8,
                        "description": "Email, phone, city, links: one line, in order."
                      },
                      "summary": {
                        "type": "string",
                        "maxLength": 3000
                      },
                      "headline": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "sections": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "heading",
                            "entries"
                          ],
                          "properties": {
                            "entries": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "title"
                                ],
                                "properties": {
                                  "end": {
                                    "type": "string",
                                    "maxLength": 40,
                                    "description": "\"Present\" for a current one."
                                  },
                                  "text": {
                                    "type": "string",
                                    "maxLength": 2000
                                  },
                                  "start": {
                                    "type": "string",
                                    "maxLength": 40
                                  },
                                  "title": {
                                    "type": "string",
                                    "maxLength": 200
                                  },
                                  "bullets": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "maxLength": 600
                                    },
                                    "maxItems": 20
                                  },
                                  "location": {
                                    "type": "string",
                                    "maxLength": 120
                                  },
                                  "subtitle": {
                                    "type": "string",
                                    "maxLength": 200,
                                    "description": "Organization, school, issuer."
                                  }
                                }
                              },
                              "maxItems": 40
                            },
                            "heading": {
                              "type": "string",
                              "maxLength": 80
                            }
                          }
                        },
                        "maxItems": 10,
                        "description": "More sections: projects, certifications, awards."
                      },
                      "education": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "title"
                          ],
                          "properties": {
                            "end": {
                              "type": "string",
                              "maxLength": 40,
                              "description": "\"Present\" for a current one."
                            },
                            "text": {
                              "type": "string",
                              "maxLength": 2000
                            },
                            "start": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "title": {
                              "type": "string",
                              "maxLength": 200
                            },
                            "bullets": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "maxLength": 600
                              },
                              "maxItems": 20
                            },
                            "location": {
                              "type": "string",
                              "maxLength": 120
                            },
                            "subtitle": {
                              "type": "string",
                              "maxLength": 200,
                              "description": "Organization, school, issuer."
                            }
                          }
                        },
                        "maxItems": 20
                      },
                      "experience": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "title"
                          ],
                          "properties": {
                            "end": {
                              "type": "string",
                              "maxLength": 40,
                              "description": "\"Present\" for a current one."
                            },
                            "text": {
                              "type": "string",
                              "maxLength": 2000
                            },
                            "start": {
                              "type": "string",
                              "maxLength": 40
                            },
                            "title": {
                              "type": "string",
                              "maxLength": 200
                            },
                            "bullets": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "maxLength": 600
                              },
                              "maxItems": 20
                            },
                            "location": {
                              "type": "string",
                              "maxLength": 120
                            },
                            "subtitle": {
                              "type": "string",
                              "maxLength": 200,
                              "description": "Organization, school, issuer."
                            }
                          }
                        },
                        "maxItems": 40
                      }
                    }
                  },
                  {
                    "type": "object",
                    "required": [
                      "body"
                    ],
                    "properties": {
                      "body": {
                        "type": "string",
                        "maxLength": 100000,
                        "minLength": 1,
                        "description": "Markdown; a blank line starts a paragraph."
                      },
                      "date": {
                        "type": "string",
                        "maxLength": 60
                      },
                      "sender": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "email": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "phone": {
                            "type": "string",
                            "maxLength": 100
                          },
                          "tax_id": {
                            "type": "string",
                            "maxLength": 100
                          },
                          "address": {
                            "type": "string",
                            "maxLength": 1000,
                            "description": "Lines separated by newlines."
                          }
                        }
                      },
                      "closing": {
                        "type": "string",
                        "maxLength": 100,
                        "description": "\"Yours sincerely,\""
                      },
                      "subject": {
                        "type": "string",
                        "maxLength": 300
                      },
                      "greeting": {
                        "type": "string",
                        "maxLength": 200,
                        "description": "\"Dear Ms Rai,\""
                      },
                      "recipient": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "email": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "phone": {
                            "type": "string",
                            "maxLength": 100
                          },
                          "tax_id": {
                            "type": "string",
                            "maxLength": 100
                          },
                          "address": {
                            "type": "string",
                            "maxLength": 1000,
                            "description": "Lines separated by newlines."
                          }
                        }
                      },
                      "reference": {
                        "type": "string",
                        "maxLength": 120
                      },
                      "signature_name": {
                        "type": "string",
                        "maxLength": 120
                      },
                      "signature_title": {
                        "type": "string",
                        "maxLength": 200
                      }
                    }
                  }
                ],
                "description": "Instead of markdown/html: the fields of an invoice, resume or letter (set template to match). We lay it out; for an invoice we also add up the lines, tax and total and report anything that doesn't add up."
              },
              "html": {
                "type": "string",
                "maxLength": 2000000,
                "minLength": 1
              },
              "style": {
                "enum": [
                  "quiet",
                  "classic"
                ],
                "type": "string",
                "description": "quiet (default): modern sans, gray labels. classic: serif, fine rules, centered heads; suits letters and traditional CVs."
              },
              "title": {
                "type": "string",
                "maxLength": 200,
                "description": "Also the file name."
              },
              "footer": {
                "type": "string",
                "maxLength": 200
              },
              "header": {
                "type": "string",
                "maxLength": 200
              },
              "margin": {
                "enum": [
                  "none",
                  "small",
                  "normal",
                  "wide"
                ],
                "type": "string"
              },
              "markdown": {
                "type": "string",
                "maxLength": 1000000,
                "minLength": 1
              },
              "template": {
                "enum": [
                  "plain",
                  "report",
                  "invoice",
                  "letter",
                  "resume"
                ],
                "type": "string"
              },
              "page_size": {
                "enum": [
                  "A4",
                  "Letter"
                ],
                "type": "string"
              },
              "page_numbers": {
                "type": "boolean"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Create a PDF",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "sign_pdf",
          "title": "Sign a PDF",
          "description": "Stamp a signature image (PNG or JPEG) on a page: at a named spot (bottom-right by default) or at x and y in points from the top-left corner.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "x": {
                "type": "number",
                "minimum": 0
              },
              "y": {
                "type": "number",
                "minimum": 0
              },
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "page": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "enum": [
                      "first",
                      "last",
                      "all"
                    ],
                    "type": "string"
                  }
                ]
              },
              "width": {
                "type": "number",
                "maximum": 600,
                "minimum": 20
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "position": {
                "enum": [
                  "bottom-right",
                  "bottom-center",
                  "bottom-left",
                  "top-right",
                  "top-left"
                ],
                "type": "string"
              },
              "signature": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A signature image attached in ChatGPT."
              },
              "signature_url": {
                "type": "string",
                "format": "uri"
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              },
              "signature_file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "The signature image's file_id."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Sign a PDF",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "ask_pdf",
          "title": "Ask a PDF",
          "description": "Answer a question from the document only, citing pages. Every quote is checked against the page text (verified: false marks one that couldn't be found).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "question"
            ],
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "question": {
                "type": "string",
                "maxLength": 2000,
                "minLength": 1
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "answer",
              "found",
              "citations",
              "pages_read",
              "file_id"
            ],
            "properties": {
              "found": {
                "type": "boolean"
              },
              "answer": {
                "type": "string"
              },
              "file_id": {
                "type": "string"
              },
              "citations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "page",
                    "quote",
                    "verified"
                  ],
                  "properties": {
                    "page": {
                      "type": "number"
                    },
                    "quote": {
                      "type": "string"
                    },
                    "verified": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "pages_read": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Ask a PDF",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "summarize_pdf",
          "title": "Summarize a PDF",
          "description": "A plain summary and key points, each with the pages it comes from.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "focus": {
                "type": "string",
                "maxLength": 500,
                "description": "What the summary should focus on."
              },
              "length": {
                "enum": [
                  "short",
                  "medium",
                  "long"
                ],
                "type": "string"
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "summary",
              "key_points",
              "pages_read",
              "file_id"
            ],
            "properties": {
              "file_id": {
                "type": "string"
              },
              "summary": {
                "type": "string"
              },
              "key_points": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text",
                    "pages"
                  ],
                  "properties": {
                    "text": {
                      "type": "string"
                    },
                    "pages": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "pages_read": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Summarize a PDF",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "extract_data",
          "title": "Extract data from a PDF",
          "description": "Read structured data with AI and check it in code: invoice (fields, lines and totals, added up), statement (bank transactions, balances compared), tables (every table, cell by cell), or schema (your own JSON Schema). Output json returns the data here; excel or csv also makes a spreadsheet file (tables and statement).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "type"
            ],
            "properties": {
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "type": {
                "enum": [
                  "invoice",
                  "statement",
                  "tables",
                  "schema"
                ],
                "type": "string"
              },
              "output": {
                "enum": [
                  "json",
                  "excel",
                  "csv"
                ],
                "type": "string"
              },
              "schema": {
                "type": "object",
                "description": "For type schema: a JSON Schema object.",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "instructions": {
                "type": "string",
                "maxLength": 1000
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "type",
              "message"
            ],
            "properties": {
              "data": {},
              "file": {
                "type": "object",
                "required": [
                  "file_id",
                  "filename",
                  "kind",
                  "bytes",
                  "pages",
                  "download_url",
                  "expires_at"
                ],
                "properties": {
                  "kind": {
                    "type": "string"
                  },
                  "bytes": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "pages": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "file_id": {
                    "type": "string"
                  },
                  "filename": {
                    "type": "string"
                  },
                  "expires_at": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": false
              },
              "type": {
                "type": "string"
              },
              "checks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "ok",
                    "detail"
                  ],
                  "properties": {
                    "ok": {
                      "type": "boolean"
                    },
                    "name": {
                      "type": "string"
                    },
                    "detail": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "unverified": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Extract data from a PDF",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "smart_edit",
          "title": "Edit a PDF by instruction",
          "description": "Describe the change (\"remove the blank pages, number the rest and make it PDF/A\"): FynePDF plans the steps from its actions, checks the plan, and runs it. With run false it only returns the plan.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "instruction"
            ],
            "properties": {
              "run": {
                "type": "boolean",
                "description": "Default true."
              },
              "file": {
                "type": "object",
                "required": [
                  "download_url",
                  "file_id"
                ],
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "file_name": {
                    "type": "string"
                  },
                  "mime_type": {
                    "type": "string"
                  },
                  "download_url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "description": "A file the person attached in ChatGPT (filled in by ChatGPT)."
              },
              "file_id": {
                "type": "string",
                "pattern": "^file_",
                "description": "A FynePDF file_id from upload_file, import_file_from_url or an earlier tool."
              },
              "file_url": {
                "type": "string",
                "format": "uri",
                "description": "A public link to the file."
              },
              "instruction": {
                "type": "string",
                "maxLength": 2000,
                "minLength": 1
              },
              "library_file_id": {
                "type": "string",
                "description": "A file from the person's FynePDF Library (from list_library_files)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "message",
              "explanation",
              "plan"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "plan": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "params"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "params": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "additionalProperties": false
                }
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              },
              "explanation": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Edit a PDF by instruction",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_job",
          "title": "Get a job",
          "description": "Check a job that was still running, and get its files when it's done. Waits up to 50 seconds by default.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "job_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "pattern": "^job_"
              },
              "wait_seconds": {
                "type": "integer",
                "maximum": 50,
                "minimum": 0
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "status",
              "job_id",
              "files",
              "steps",
              "credits",
              "message"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "facts"
                ],
                "properties": {
                  "badge": {
                    "type": "object",
                    "required": [
                      "text",
                      "tone"
                    ],
                    "properties": {
                      "text": {
                        "type": "string"
                      },
                      "tone": {
                        "enum": [
                          "good",
                          "warn"
                        ],
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "facts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next_steps": {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "message"
                          ],
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "required": [
                            "label",
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "label": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      ]
                    }
                  }
                },
                "additionalProperties": false
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "file_id",
                    "filename",
                    "kind",
                    "bytes",
                    "pages",
                    "download_url",
                    "expires_at"
                  ],
                  "properties": {
                    "kind": {
                      "type": "string"
                    },
                    "bytes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string"
                    },
                    "download_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "action",
                    "status",
                    "pages_before",
                    "pages_after",
                    "bytes_before",
                    "bytes_after"
                  ],
                  "properties": {
                    "action": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "details": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "target_met": {
                      "type": "boolean"
                    },
                    "bytes_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_after": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "bytes_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "pages_before": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "queued",
                  "running",
                  "succeeded",
                  "failed",
                  "canceled"
                ],
                "type": "string"
              },
              "credits": {
                "type": "number"
              },
              "message": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get a job",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "result-app",
          "uri": "ui://fynepdf/result-b344d0b90a.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "The file a FynePDF tool made: its first pages, Download and Save to Library."
        },
        {
          "name": "upload-app",
          "uri": "ui://fynepdf/upload-081ef702ab.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "A drop zone that uploads files straight to FynePDF."
        }
      ],
      "prompts": []
    },
    "instructions": "FynePDF: PDF tools that keep files on FynePDF between calls.\n1. Get the file in. In ChatGPT, pass the attached file in `file`. Elsewhere call upload_file (shows a drop zone, or gives a signed URL and a curl command), import_file_from_url, or use a file from the person's FynePDF Library (list_library_files, then library_file_id). A message like \"File uploaded (ID: file_…)\" came from upload_file's drop zone: use that file_id. If the person names a file they uploaded without its ID, find it by name with list_files.\n2. Every tool returns a file_id. Pass it to the next tool to keep working on the same file; don't download and re-upload between steps.\n3. Share results as the download_url (valid for 1 hour; get_file makes a fresh one). Files are deleted after 24 hours unless saved with save_to_library.\n4. A tool waits up to about 50 seconds. If it returns status running, call get_job with its job_id.\nSigned in with a FynePDF account, tools use that account's plan; with an API key they spend credits."
  },
  "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."
}