MCP tool: export
Eksport danych
Description (verbatim)
Sprawdź koszt i eksportuj pliki. Eksport planu działki: 40 kredytów.
Cost and binding
x-request-cost: 10 requests per call.
REST binding: POST /v1/exports.
Inputs
Dokładnie jeden z parametrów q, id, point (lat i lng razem liczą się jako point). Wszystkie punkty odczytu API i wszystkie narzędzia obsługują te trzy warianty.
| Field | Required | Schema / constraints | Description |
|---|---|---|---|
bbox4326 | no | {"$anchor": "c", "items": {"$ref": "#q"}, "maxItems": 4, "minItems": 4, "type": "array"} | not specified in the source contract |
comparables_reference | no | {"$anchor": "f", "maxLength": 256, "minLength": 1, "type": "string"} | not specified in the source contract |
format | no | {"enum": ["pdf", "docx", "png"]} | not specified in the source contract |
kind | yes | {"enum": ["pdf_sheet", "pdf_valuation", "xlsx_operat", "csv", "geojson", "dxf", "gpkg", "pdf_siteplan", "docx_sheet", "pdf_comparable", "docx_comparable", "pack_comparables", "annex", "map"]} | not specified in the source contract |
layers | no | {"$anchor": "j", "items": {"enum": ["parcels", "buildings", "roads", "power_lines", "protected_areas", "flood_zones", "plan_zones"]}, "maxItems": 7, "type": "array", "uniqueItems": true} | not specified in the source contract |
list_id | no | {"$anchor": "f", "maxLength": 256, "minLength": 1, "type": "string"} | not specified in the source contract |
margin_m | no | {"$anchor": "n", "maximum": 200, "minimum": 0, "type": "number"} | not specified in the source contract |
orientation | no | {"enum": ["portrait", "landscape"]} | not specified in the source contract |
parcel_ids | no | {"$anchor": "j", "items": {"$ref": "#r"}, "maxItems": 2000, "minItems": 1, "type": "array", "uniqueItems": true} | not specified in the source contract |
preset | no | {"enum": ["lokalizacja", "otoczenie", "widok"]} | not specified in the source contract |
rows | no | {"$anchor": "P", "maximum": 2000, "minimum": 0, "type": "integer"} | not specified in the source contract |
search_reference | no | {"$anchor": "f", "maxLength": 256, "minLength": 1, "type": "string"} | not specified in the source contract |
transaction_ids | no | {"$anchor": "j", "items": {"$ref": "#f"}, "maxItems": 2000, "minItems": 1, "type": "array", "uniqueItems": true} | not specified in the source contract |
valuation_reference | no | {"$anchor": "f", "maxLength": 256, "minLength": 1, "type": "string"} | not specified in the source contract |
{
"inputSchema": {
"$ref": "#a",
"additionalProperties": false,
"allOf": [
{
"else": {
"not": {
"required": [
"transaction_ids"
]
}
},
"if": {
"properties": {
"kind": {
"enum": [
"pdf_comparable",
"docx_comparable",
"pack_comparables"
]
}
}
},
"then": {
"$ref": "#V"
}
},
{
"if": {
"properties": {
"kind": {
"enum": [
"pdf_comparable",
"docx_comparable"
]
}
}
},
"then": {
"properties": {
"transaction_ids": {
"maxItems": 1
}
},
"required": [
"transaction_ids"
]
}
},
{
"else": {
"anyOf": [
{
"properties": {
"kind": {
"const": "map"
}
}
},
{
"not": {
"required": [
"format"
]
}
}
]
},
"if": {
"properties": {
"kind": {
"const": "annex"
}
}
},
"then": {
"$ref": "#V",
"properties": {
"format": {
"enum": [
"pdf",
"docx"
]
}
}
}
},
{
"else": {
"$ref": "#a",
"properties": {
"bbox4326": false,
"layers": false,
"orientation": false,
"preset": false
}
},
"if": {
"properties": {
"kind": {
"const": "map"
}
}
},
"then": {
"oneOf": [
{
"$ref": "#V",
"properties": {
"preset": {
"const": "lokalizacja"
}
}
},
{
"$ref": "#H",
"properties": {
"parcel_ids": {
"maxItems": 1
},
"preset": {
"const": "otoczenie"
}
}
},
{
"properties": {
"preset": {
"const": "widok"
}
},
"required": [
"bbox4326"
]
}
],
"properties": {
"format": {
"enum": [
"pdf",
"png"
]
},
"rows": false
},
"required": [
"preset"
]
}
}
],
"else": {
"not": {
"required": [
"margin_m"
]
}
},
"if": {
"properties": {
"kind": {
"enum": [
"dxf",
"gpkg",
"pdf_siteplan"
]
}
}
},
"oneOf": [
{
"$ref": "#H"
},
{
"required": [
"list_id"
]
},
{
"required": [
"search_reference"
]
},
{
"required": [
"valuation_reference"
]
},
{
"$ref": "#V"
},
{
"required": [
"bbox4326"
]
}
],
"properties": {
"bbox4326": {
"$ref": "#c",
"items": {
"$ref": "#q"
},
"maxItems": 4,
"minItems": 4
},
"comparables_reference": {
"$ref": "#f"
},
"format": {
"enum": [
"pdf",
"docx",
"png"
]
},
"kind": {
"$ref": "#/$defs/ar"
},
"layers": {
"$ref": "#j",
"items": {
"enum": [
"parcels",
"buildings",
"roads",
"power_lines",
"protected_areas",
"flood_zones",
"plan_zones"
]
},
"maxItems": 7
},
"list_id": {
"$ref": "#f"
},
"margin_m": {
"$ref": "#n",
"maximum": 200
},
"orientation": {
"enum": [
"portrait",
"landscape"
]
},
"parcel_ids": {
"$ref": "#j",
"items": {
"$ref": "#r"
},
"maxItems": 2000,
"minItems": 1
},
"preset": {
"enum": [
"lokalizacja",
"otoczenie",
"widok"
]
},
"rows": {
"$ref": "#P"
},
"search_reference": {
"$ref": "#f"
},
"transaction_ids": {
"$ref": "#j",
"items": {
"$ref": "#f"
},
"maxItems": 2000,
"minItems": 1
},
"valuation_reference": {
"$ref": "#f"
}
},
"required": [
"kind"
],
"then": {
"$ref": "#H",
"not": {
"required": [
"rows"
]
},
"properties": {
"parcel_ids": {
"maxItems": 1
}
}
}
}
}
Structured results
Tools return structuredContent (JSON) using canonical definitions in envelope.json.
MCP tools share the published REST operations, evidence and billing contracts. Catalog-local definitions describe their structured input and output.
{
"$ref": "#m",
"properties": {
"meta": {
"properties": {
"operation": {
"enum": [
"export_create",
"export_get"
]
}
}
},
"result": {
"$ref": "#/$defs/aC"
}
}
}
Shared catalog-local $defs are published once in MCP catalogue. See Envelope and the bound operation for responses.
Server instructions (verbatim)
Podawaj źródło, datę i zakres danych. Nie zapewniaj o bezpieczeństwie, braku zagrożeń przy brakujących danych ani o prawie do zabudowy. Rozróżniaj plan ogólny i MPZP oraz ich stan prawny. Kandydatów wybiera użytkownik. Bez danych tożsamości i KW. Wiersze RCN: konto płatne, poza okresem próbnym i testowym, LANDFEED_RCN_ROWS=on.
Annotations
{}
Coverage states
Cztery stany zakresu danych dla jednej kategorii w danym miejscu. covered: źródło obejmuje to miejsce i zawiera rekord; value zawiera ten rekord. covered_no_data: źródło obejmuje to miejsce, lecz nie zawiera rekordu; value ma określoną dla danej kategorii pustą wartość (false, 0, [], none), nigdy null; jest to potwierdzony brak rekordu, za który naliczana jest opłata. not_covered: źródło nie obejmuje miejsca albo państwo nie publikuje tych danych w postaci do odczytu maszynowego; value=null, agent nie może wyciągać wniosków, a opłata jest zwracana, gdy zapytanie dotyczy tych danych. not_computed: posiadamy źródło, lecz nie obliczyliśmy jeszcze wyniku dla tego miejsca, np. trwa ładowanie zbioru; value=null, opłata jest zwracana. Każdy stan zawiera uwagę napisaną prostym językiem.
States: covered | covered_no_data | not_covered | not_computed.
LayerAnswer required fields: layer, coverage, value, note, source, as_of, layer_version.
Billing rule
Koszt żądania. charged: liczba naliczonych wywołań po zwrotach. refunded: liczba wywołań naliczonych, a następnie zwróconych. rule: zastosowana reguła. Płatne są odpowiedzi, potwierdzone braki rekordów (covered_no_data) i niejednoznaczne listy kandydatów. Bezpłatne są błędne dane wejściowe (400), brak uwierzytelnienia (401), odpowiedzi bez zmiany danych (304) i operacje bezpłatne. Zwrot obejmuje pozostałe 4xx, każde 5xx, status not_covered oraz odpowiedź dotyczącą jednej kategorii ze stanem not_covered lub not_computed. W operacjach zbiorczych liczby dotyczą poszczególnych elementów.
Rule values: charged | free_operation | free_invalid_input | free_unauthorized | free_not_modified | free_idempotency_replay | refunded_client_error | refunded_server_error | refunded_not_covered | refunded_not_computed | batch_mixed | free_record_reuse.
curl example of the REST binding
curl --silent --show-error --request POST "https://api.landfeed.pl/v1/exports" \
-H "X-Api-Key: ${LANDFEED_API_KEY}" \
-H 'Content-Type: application/json' \
--data '{"kind": "pdf_sheet", "parcel_ids": ["146501_1.0101.12/3"]}'
MCP transport invocation: not specified in the source contract.