Koskamo

Divisi MCP

An official MCP server for the Divisi AgriFintech platform that allows AI assistants to access crop guidance, market prices, and farm management tools. It supports public queries like crop suitability and pest identification without authentication, while requiring user sign-in to access personal farm records, task planning, and marketplace interactions.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Divisi MCP logo, by DivisiVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by Divisi
You need:Needs the person to sign in on the Divisi website (WhatsApp code, email code, or Google, Apple or Facebook; the app is not needed)
MCP endpoint (Streamable HTTP)
https://divisi.africa/mcp
Vendor documentation

What its tools do

47 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

47 of 47 have a description · 47 of 47 declare behavior hints · 0 of 47 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to divisi.africa ·
  • Passed Endpoint is on the registry namespace domain ·
  • Warning Does not report a server version
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • Check crop suitability and planting windows for a specific location
  • Identify likely pests and diseases based on crop symptoms
  • Access sourced market price estimates for agricultural produce
  • Manage personal farm records, tasks, and seasonal plans

Source and maintenance

Vendor evidenceRegistry 26.11.20.1

Protocol and capabilities

Server
Divisi unreported
MCP protocol negotiated in check
2025-11-25
Tools
47 advertised
Resources
3 advertised
Resource templates
0 advertised
Prompts
7 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "prompts": {
    "listChanged": false
  },
  "resources": {
    "subscribe": false,
    "listChanged": false
  },
  "experimental": {}
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Divisi is where people farm, trade and learn together. Without signing in you can answer from its public guides: which crops suit a place and when to plant them, what pest or disease a farmer may be seeing, typical market prices, where a market is and when it runs (find_market; it gives no prices), events and listings. Signed in, you act as the person on their own farms, messages and market: you see only what they can see, and everything you add shows in their app. Someone new to Divisi gets an account by signing in; no app download is needed. Steps that need their phone (a field walked, a photo) come with a Divisi link that opens there, already signed in. Once a person has a farm, offer the Divisi app once: it reminds them when work is due, keeps working offline, and sends what they record offline on its own when they are back online. Ask for a place by town or district name, not coordinates. The crop list is in Divisi's agronomy order: planting window, then suitability. Confirm the words, amounts and dates with the person before anything is posted, sent or offered. A person can have their own season plan for a crop or batch (plan_season): work it out with them, confirm it, and Divisi dates each job from planting or arrival. update_task skips a task or brings it back; move_tasks shifts a unit's tasks when planting slips. Write tools take a `client_id`. Reuse it when you retry a call that may have gone through, so the same work is never filed twice. Deals are paid in cash when the two people meet, or through Divisi before they meet, with the money held until the buyer has the goods. The person pays, never the assistant: you can show them what they owe and hand them the page where they pay. A failed call says what was wrong and carries `field_errors` mapping each field to its problems.

Tools

47 advertised

find_crops — Find crops for a place
Advertised by the server during the last successful anonymous check.
Advertised read-only

Crops that suit a place, best first, with when to plant each. Give a town or district name ("Murewa", "Nakuru") or a lat/lng. The list is in Divisi's agronomy order: planting window, then suitability. Each crop links to its guide and its planting page, and lists the services the person can ask Divisi for about it (seed, cover, a loan).

find_crops input schema
{
  "type": "object",
  "title": "find_cropsArguments",
  "properties": {
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat",
      "default": null
    },
    "lng": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lng",
      "default": null
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 10
    },
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    }
  }
}
find_crops output schema
{
  "type": "object",
  "$defs": {
    "Offer": {
      "type": "object",
      "title": "Offer",
      "required": [
        "need",
        "line"
      ],
      "properties": {
        "line": {
          "type": "string",
          "title": "Line"
        },
        "need": {
          "type": "string",
          "title": "Need"
        },
        "detail": {
          "type": "string",
          "title": "Detail",
          "default": ""
        }
      },
      "description": "A service the person can ask Divisi for about this crop, as its page offers\nit: `need` and `detail` are what a service request takes."
    },
    "Window": {
      "type": "object",
      "title": "Window",
      "properties": {
        "best": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Best",
          "default": null
        },
        "opens": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Opens",
          "default": null
        },
        "closes": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Closes",
          "default": null
        }
      },
      "description": "A planting window: when it opens, closes, and the best day in it."
    },
    "CropFit": {
      "type": "object",
      "title": "CropFit",
      "required": [
        "rank",
        "crop_ref",
        "crop"
      ],
      "properties": {
        "fit": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Fit",
          "default": null
        },
        "crop": {
          "type": "string",
          "title": "Crop"
        },
        "rank": {
          "type": "integer",
          "title": "Rank"
        },
        "guide": {
          "type": "string",
          "title": "Guide",
          "default": ""
        },
        "photo": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Photo",
          "default": null
        },
        "plant": {
          "anyOf": [
            {
              "$ref": "#/$defs/Window"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "offers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Offer"
          },
          "title": "Offers",
          "default": []
        },
        "crop_ref": {
          "type": "string",
          "title": "Crop Ref"
        },
        "yield_t_ha": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Yield T Ha",
          "default": null
        },
        "when_to_plant": {
          "type": "string",
          "title": "When To Plant",
          "default": ""
        }
      }
    }
  },
  "title": "FoundCrops",
  "required": [
    "summary",
    "place",
    "basis",
    "crops"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link",
      "default": ""
    },
    "basis": {
      "enum": [
        "place",
        "field"
      ],
      "type": "string",
      "title": "Basis"
    },
    "crops": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CropFit"
      },
      "title": "Crops"
    },
    "field": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Field",
      "default": null
    },
    "place": {
      "type": "string",
      "title": "Place"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    }
  }
}
find_crops annotations
{
  "title": "Find crops for a place",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
when_to_plant — When to plant a crop
Advertised by the server during the last successful anonymous check.
Advertised read-only

When to plant one crop at one place: the planting window open now or next, the other seasons in the year, when harvest falls, and the services the person can ask Divisi for about it. `crop` is a name in any language ("maize", "chibage"); give a town or district name, or a lat/lng.

when_to_plant input schema
{
  "type": "object",
  "title": "when_to_plantArguments",
  "required": [
    "crop"
  ],
  "properties": {
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat",
      "default": null
    },
    "lng": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lng",
      "default": null
    },
    "crop": {
      "type": "string",
      "title": "Crop"
    },
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    }
  }
}
when_to_plant output schema
{
  "type": "object",
  "$defs": {
    "Offer": {
      "type": "object",
      "title": "Offer",
      "required": [
        "need",
        "line"
      ],
      "properties": {
        "line": {
          "type": "string",
          "title": "Line"
        },
        "need": {
          "type": "string",
          "title": "Need"
        },
        "detail": {
          "type": "string",
          "title": "Detail",
          "default": ""
        }
      },
      "description": "A service the person can ask Divisi for about this crop, as its page offers\nit: `need` and `detail` are what a service request takes."
    },
    "Window": {
      "type": "object",
      "title": "Window",
      "properties": {
        "best": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Best",
          "default": null
        },
        "opens": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Opens",
          "default": null
        },
        "closes": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Closes",
          "default": null
        }
      },
      "description": "A planting window: when it opens, closes, and the best day in it."
    }
  },
  "title": "PlantingTime",
  "required": [
    "summary",
    "crop_ref",
    "crop",
    "place"
  ],
  "properties": {
    "fit": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Fit",
      "default": null
    },
    "crop": {
      "type": "string",
      "title": "Crop"
    },
    "link": {
      "type": "string",
      "title": "Link",
      "default": ""
    },
    "guide": {
      "type": "string",
      "title": "Guide",
      "default": ""
    },
    "place": {
      "type": "string",
      "title": "Place"
    },
    "plant": {
      "anyOf": [
        {
          "$ref": "#/$defs/Window"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "offers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Offer"
      },
      "title": "Offers",
      "default": []
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "crop_ref": {
      "type": "string",
      "title": "Crop Ref"
    },
    "perennial": {
      "type": "boolean",
      "title": "Perennial",
      "default": false
    },
    "harvest_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Harvest To",
      "default": null
    },
    "harvest_from": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Harvest From",
      "default": null
    },
    "other_seasons": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Window"
      },
      "title": "Other Seasons",
      "default": []
    }
  }
}
when_to_plant annotations
{
  "title": "When to plant a crop",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
identify_problem — Identify a crop problem
Advertised by the server during the last successful anonymous check.
Advertised read-only

Which pests or diseases might explain what a farmer sees on a crop: candidates from that crop's Divisi guide, best match first, each with how to identify it, photos and a link to its page. `symptoms` is the farmer's own words ("holes in the leaves, sawdust in the funnel"). These are possibilities to check against the photos, not a diagnosis.

identify_problem input schema
{
  "type": "object",
  "title": "identify_problemArguments",
  "required": [
    "crop",
    "symptoms"
  ],
  "properties": {
    "crop": {
      "type": "string",
      "title": "Crop"
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 5
    },
    "symptoms": {
      "type": "string",
      "title": "Symptoms"
    }
  }
}
identify_problem output schema
{
  "type": "object",
  "$defs": {
    "Candidate": {
      "type": "object",
      "title": "Candidate",
      "required": [
        "kind",
        "name",
        "words_matched",
        "page"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "title": "Kind"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "page": {
          "type": "string",
          "title": "Page"
        },
        "photos": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "title": "Photos",
          "default": []
        },
        "what_it_is": {
          "type": "string",
          "title": "What It Is",
          "default": ""
        },
        "words_matched": {
          "type": "integer",
          "title": "Words Matched"
        },
        "how_to_identify": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "title": "How To Identify",
          "default": []
        },
        "scientific_name": {
          "type": "string",
          "title": "Scientific Name",
          "default": ""
        },
        "action_threshold": {
          "type": "string",
          "title": "Action Threshold",
          "default": ""
        }
      }
    }
  },
  "title": "Problems",
  "required": [
    "summary",
    "crop",
    "crop_ref",
    "matched_your_words",
    "note",
    "candidates",
    "crop_guide"
  ],
  "properties": {
    "crop": {
      "type": "string",
      "title": "Crop"
    },
    "note": {
      "type": "string",
      "title": "Note"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "crop_ref": {
      "type": "string",
      "title": "Crop Ref"
    },
    "candidates": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Candidate"
      },
      "title": "Candidates"
    },
    "crop_guide": {
      "type": "string",
      "title": "Crop Guide"
    },
    "matched_your_words": {
      "type": "boolean",
      "title": "Matched Your Words"
    }
  }
}
identify_problem annotations
{
  "title": "Identify a crop problem",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
read_guide — Read a crop or pest guide
Advertised by the server during the last successful anonymous check.
Advertised read-only

The summary of Divisi's guide to one crop, pest or disease, named in any language: for a crop, its overview, key facts, season stages and the threats to watch for; for a pest or disease, how to spot it and what to do. `kind` narrows the search when a name could be either. Links to the full page.

read_guide input schema
{
  "type": "object",
  "title": "read_guideArguments",
  "required": [
    "name"
  ],
  "properties": {
    "kind": {
      "anyOf": [
        {
          "enum": [
            "crop",
            "pest",
            "disease"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Kind",
      "default": null
    },
    "name": {
      "type": "string",
      "title": "Name"
    }
  }
}
read_guide output schema
{
  "type": "object",
  "$defs": {
    "Fact": {
      "type": "object",
      "title": "Fact",
      "required": [
        "label",
        "value"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label"
        },
        "value": {
          "type": "string",
          "title": "Value"
        }
      }
    }
  },
  "title": "Guide",
  "required": [
    "summary",
    "kind",
    "slug",
    "name",
    "link"
  ],
  "properties": {
    "kind": {
      "enum": [
        "crop",
        "pest",
        "disease"
      ],
      "type": "string",
      "title": "Kind"
    },
    "link": {
      "type": "string",
      "title": "Link"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "facts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Fact"
      },
      "title": "Facts",
      "default": []
    },
    "stages": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Stages",
      "default": []
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "language": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Language",
      "default": null
    },
    "overview": {
      "type": "string",
      "title": "Overview",
      "default": ""
    },
    "watch_for": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Watch For",
      "default": []
    },
    "what_to_do": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "What To Do",
      "default": []
    },
    "also_matched": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Also Matched",
      "default": []
    },
    "matched_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Matched Name",
      "default": null
    },
    "how_to_identify": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "How To Identify",
      "default": []
    },
    "action_threshold": {
      "type": "string",
      "title": "Action Threshold",
      "default": ""
    }
  }
}
read_guide annotations
{
  "title": "Read a crop or pest guide",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
market_prices — Check market prices
Advertised by the server during the last successful anonymous check.
Advertised read-only

The typical price range Divisi has seen for a product near a place, per `unit` ("kg", "50 kg bag", "crate"), from listings, deals and published market prices, with how many prices it rests on. Without a `unit`, it answers in the unit most prices near there were given in. Give a town or district name, or a lat/lng. `currency` defaults to the country's. When there are too few prices to be honest, it says so instead of guessing.

market_prices input schema
{
  "type": "object",
  "title": "market_pricesArguments",
  "required": [
    "commodity"
  ],
  "properties": {
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat",
      "default": null
    },
    "lng": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lng",
      "default": null
    },
    "unit": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Unit",
      "default": null
    },
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "currency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Currency",
      "default": null
    },
    "commodity": {
      "type": "string",
      "title": "Commodity"
    }
  }
}
market_prices output schema
{
  "type": "object",
  "$defs": {
    "PriceRange": {
      "type": "object",
      "title": "PriceRange",
      "required": [
        "low",
        "typical",
        "high",
        "currency",
        "unit",
        "sample_size",
        "area"
      ],
      "properties": {
        "low": {
          "type": "string",
          "title": "Low"
        },
        "area": {
          "type": "string",
          "title": "Area"
        },
        "high": {
          "type": "string",
          "title": "High"
        },
        "unit": {
          "type": "string",
          "title": "Unit"
        },
        "typical": {
          "type": "string",
          "title": "Typical"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "latest_seen": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Latest Seen",
          "default": null
        },
        "sample_size": {
          "type": "integer",
          "title": "Sample Size"
        }
      },
      "description": "The typical price per unit Divisi has seen near a place."
    }
  },
  "title": "Prices",
  "required": [
    "summary",
    "commodity",
    "unit",
    "place",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "unit": {
      "type": "string",
      "title": "Unit"
    },
    "place": {
      "type": "string",
      "title": "Place"
    },
    "price": {
      "anyOf": [
        {
          "$ref": "#/$defs/PriceRange"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "commodity": {
      "type": "string",
      "title": "Commodity"
    }
  }
}
market_prices annotations
{
  "title": "Check market prices",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
find_market — Find a market
Advertised by the server during the last successful anonymous check.
Advertised read-only

Where a market is and when it runs. Give a market's `name` ("Mbare Musika", "Mile 12", "Wakulima"; spelling and the word market do not matter) or a town, district or lat/lng to see the markets near it, nearest first. `crop` keeps only markets that trade it. Each market has its town, country, how far away it is, the days and hours it runs, what is traded, what is in season this month, and its Divisi page. It gives no prices.

find_market input schema
{
  "type": "object",
  "title": "find_marketArguments",
  "properties": {
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat",
      "default": null
    },
    "lng": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lng",
      "default": null
    },
    "crop": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Crop",
      "default": null
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "default": null
    },
    "limit": {
      "type": "integer",
      "title": "Limit",
      "default": 5
    },
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    }
  }
}
find_market output schema
{
  "type": "object",
  "$defs": {
    "MarketCard": {
      "type": "object",
      "title": "MarketCard",
      "required": [
        "name",
        "town",
        "country",
        "open_days",
        "trades",
        "in_season",
        "link"
      ],
      "properties": {
        "link": {
          "type": "string",
          "title": "Link"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "town": {
          "type": "string",
          "title": "Town"
        },
        "hours": {
          "type": "string",
          "title": "Hours",
          "default": ""
        },
        "trades": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "title": "Trades"
        },
        "country": {
          "type": "string",
          "title": "Country"
        },
        "in_season": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "title": "In Season"
        },
        "open_days": {
          "type": "string",
          "title": "Open Days"
        },
        "distance_km": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Distance Km",
          "default": null
        }
      },
      "description": "One market: where it is, when it runs, what it trades."
    }
  },
  "title": "FoundMarkets",
  "required": [
    "summary",
    "markets"
  ],
  "properties": {
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    },
    "markets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MarketCard"
      },
      "title": "Markets"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    }
  }
}
find_market annotations
{
  "title": "Find a market",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
find_events — Find farming events
Advertised by the server during the last successful anonymous check.
Advertised read-only

Upcoming field days, trainings and meetups, soonest first: near a town, district or lat/lng (within `radius_km`, at most 200), or online. `search` matches a topic or title. Pages of 20.

find_events input schema
{
  "type": "object",
  "title": "find_eventsArguments",
  "properties": {
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat",
      "default": null
    },
    "lng": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lng",
      "default": null
    },
    "page": {
      "type": "integer",
      "title": "Page",
      "default": 1
    },
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    },
    "search": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Search",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "free_only": {
      "type": "boolean",
      "title": "Free Only",
      "default": false
    },
    "radius_km": {
      "type": "integer",
      "title": "Radius Km",
      "default": 50
    },
    "online_only": {
      "type": "boolean",
      "title": "Online Only",
      "default": false
    }
  }
}
find_events output schema
{
  "type": "object",
  "$defs": {
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    },
    "EventCard": {
      "type": "object",
      "title": "EventCard",
      "required": [
        "id",
        "link"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "host": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Host",
          "default": null
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "going": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Going",
          "default": null
        },
        "place": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Place",
          "default": null
        },
        "price": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title",
          "default": null
        },
        "venue": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Venue",
          "default": null
        },
        "format": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Format",
          "default": null
        },
        "starts": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Starts",
          "default": null
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "ends_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ends At",
          "default": null
        },
        "capacity": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Capacity",
          "default": null
        },
        "timezone": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Timezone",
          "default": null
        },
        "starts_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Starts At",
          "default": null
        }
      }
    }
  },
  "title": "Events",
  "required": [
    "summary",
    "events"
  ],
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EventCard"
      },
      "title": "Events"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "next_page": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Page",
      "default": null
    }
  }
}
find_events annotations
{
  "title": "Find farming events",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
search_market — Search the market
Advertised by the server during the last successful anonymous check.
Advertised read-only

Find Market listings: produce and inputs for sale (`kind` SALE) or what people want to buy (WANTED), near a town, district or lat/lng (within `radius_km`, at most 100). Prices are per unit as listed, with the usual local range beside them where Divisi has one, and each seller's rating and orders handed over, so a buyer can judge the price and the seller. Pages of 20.

search_market input schema
{
  "type": "object",
  "title": "search_marketArguments",
  "properties": {
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat",
      "default": null
    },
    "lng": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lng",
      "default": null
    },
    "kind": {
      "enum": [
        "SALE",
        "WANTED"
      ],
      "type": "string",
      "title": "Kind",
      "default": "SALE"
    },
    "page": {
      "type": "integer",
      "title": "Page",
      "default": 1
    },
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    },
    "search": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Search",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "radius_km": {
      "type": "integer",
      "title": "Radius Km",
      "default": 25
    }
  }
}
search_market output schema
{
  "type": "object",
  "$defs": {
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    },
    "Person": {
      "type": "object",
      "title": "Person",
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id",
          "default": null
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name",
          "default": null
        },
        "rating": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Rating",
          "default": null
        },
        "ratings": {
          "type": "integer",
          "title": "Ratings",
          "default": 0
        },
        "new_seller": {
          "type": "boolean",
          "title": "New Seller",
          "default": false
        },
        "orders_handed_over": {
          "type": "integer",
          "title": "Orders Handed Over",
          "default": 0
        }
      },
      "description": "Who is selling, and how far to trust them: their stars, how many people\nrated them, and how many orders they have handed over."
    },
    "PriceRange": {
      "type": "object",
      "title": "PriceRange",
      "required": [
        "low",
        "typical",
        "high",
        "currency",
        "unit",
        "sample_size",
        "area"
      ],
      "properties": {
        "low": {
          "type": "string",
          "title": "Low"
        },
        "area": {
          "type": "string",
          "title": "Area"
        },
        "high": {
          "type": "string",
          "title": "High"
        },
        "unit": {
          "type": "string",
          "title": "Unit"
        },
        "typical": {
          "type": "string",
          "title": "Typical"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "latest_seen": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Latest Seen",
          "default": null
        },
        "sample_size": {
          "type": "integer",
          "title": "Sample Size"
        }
      },
      "description": "The typical price per unit Divisi has seen near a place."
    },
    "ListingCard": {
      "type": "object",
      "title": "ListingCard",
      "required": [
        "id",
        "seller",
        "link"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "kind": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Kind",
          "default": null
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "unit": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Unit",
          "default": null
        },
        "place": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Place",
          "default": null
        },
        "price": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title",
          "default": null
        },
        "seller": {
          "$ref": "#/$defs/Person"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "ready_on": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ready On",
          "default": null
        },
        "negotiable": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Negotiable",
          "default": null
        },
        "distance_km": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Distance Km",
          "default": null
        },
        "typical_price": {
          "anyOf": [
            {
              "$ref": "#/$defs/PriceRange"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "quantity_available": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quantity Available",
          "default": null
        }
      }
    }
  },
  "title": "Listings",
  "required": [
    "summary",
    "listings",
    "near_a_place"
  ],
  "properties": {
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "listings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListingCard"
      },
      "title": "Listings"
    },
    "next_page": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Page",
      "default": null
    },
    "near_a_place": {
      "type": "boolean",
      "title": "Near A Place"
    }
  }
}
search_market annotations
{
  "title": "Search the market",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
find_experts — Find an expert
Advertised by the server during the last successful anonymous check.
Advertised read-only

Verified agronomists, vets and advisers on Divisi, best first: who they are, what they know, where they are, whether they visit farms near the place, and what a call or a farm visit costs. `crop` keeps those who know it; give a town or district, or a lat/lng (a signed-in person's own farm by default). `name` matches their name. Pages of 10.

find_experts input schema
{
  "type": "object",
  "title": "find_expertsArguments",
  "properties": {
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat",
      "default": null
    },
    "lng": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lng",
      "default": null
    },
    "crop": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Crop",
      "default": null
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "default": null
    },
    "page": {
      "type": "integer",
      "title": "Page",
      "default": 1
    },
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    }
  }
}
find_experts output schema
{
  "type": "object",
  "$defs": {
    "Price": {
      "type": "object",
      "title": "Price",
      "required": [
        "label"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label"
        },
        "minutes": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Minutes",
          "default": null
        }
      }
    },
    "ExpertCard": {
      "type": "object",
      "title": "ExpertCard",
      "required": [
        "expert_id",
        "name",
        "link"
      ],
      "properties": {
        "call": {
          "anyOf": [
            {
              "$ref": "#/$defs/Price"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "role": {
          "type": "string",
          "title": "Role",
          "default": ""
        },
        "knows": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "title": "Knows",
          "default": []
        },
        "place": {
          "type": "string",
          "title": "Place",
          "default": ""
        },
        "visit": {
          "anyOf": [
            {
              "$ref": "#/$defs/Price"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "expert_id": {
          "type": "string",
          "title": "Expert Id"
        },
        "languages": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "title": "Languages",
          "default": []
        },
        "programmes": {
          "type": "integer",
          "title": "Programmes",
          "default": 0
        },
        "visits_you": {
          "type": "boolean",
          "title": "Visits You",
          "default": false
        },
        "distance_km": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Distance Km",
          "default": null
        }
      }
    }
  },
  "title": "Experts",
  "required": [
    "summary",
    "experts",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "experts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ExpertCard"
      },
      "title": "Experts"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "next_page": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Page",
      "default": null
    }
  }
}
find_experts annotations
{
  "title": "Find an expert",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
farm_report — Farm report
Advertised by the server during the last successful anonymous check.
Advertised read-only

How the person's farms are doing and what needs them. Per farm: the weather now, the days ahead and any warning; every crop, flock, herd, pond and hive with its stage, head count and the day it is ready; money in and out per unit with the margin worked out; tasks (late ones first); the latest work with who logged it. Then what waits on the person: unread conversations and who they are with, offers and deals to act on, and events they are going to. Leave out `farm_id` to read every farm (up to five).

farm_report input schema
{
  "type": "object",
  "title": "farm_reportArguments",
  "properties": {
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    }
  }
}
farm_report output schema
{
  "type": "object",
  "$defs": {
    "Task": {
      "type": "object",
      "title": "Task",
      "required": [
        "id",
        "title",
        "link"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "overdue": {
          "type": "boolean",
          "title": "Overdue",
          "default": false
        },
        "due_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Due Date",
          "default": null
        },
        "for_what": {
          "type": "string",
          "title": "For What",
          "default": ""
        }
      }
    },
    "Unit": {
      "type": "object",
      "title": "Unit",
      "required": [
        "id",
        "name",
        "what",
        "kind",
        "type"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "kind": {
          "type": "string",
          "title": "Kind"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "type": {
          "type": "string",
          "title": "Type"
        },
        "what": {
          "type": "string",
          "title": "What"
        },
        "money": {
          "anyOf": [
            {
              "$ref": "#/$defs/Margin"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "place": {
          "type": "string",
          "title": "Place",
          "default": ""
        },
        "stage": {
          "type": "string",
          "title": "Stage",
          "default": ""
        },
        "started": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Started",
          "default": null
        },
        "zone_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Zone Id",
          "default": null
        },
        "head_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Head Count",
          "default": null
        },
        "ready_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ready Date",
          "default": null
        },
        "tasks_open": {
          "type": "integer",
          "title": "Tasks Open",
          "default": 0
        },
        "planting_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Planting Date",
          "default": null
        },
        "target_planting_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Target Planting Date",
          "default": null
        }
      }
    },
    "Zone": {
      "type": "object",
      "title": "Zone",
      "required": [
        "id",
        "name",
        "kind"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "kind": {
          "type": "string",
          "title": "Kind"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "area_hectares": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Area Hectares",
          "default": null
        }
      }
    },
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    },
    "Margin": {
      "type": "object",
      "title": "Margin",
      "required": [
        "income",
        "expenses",
        "margin",
        "currency",
        "words"
      ],
      "properties": {
        "words": {
          "type": "string",
          "title": "Words"
        },
        "income": {
          "type": "number",
          "title": "Income"
        },
        "margin": {
          "type": "number",
          "title": "Margin"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "expenses": {
          "type": "number",
          "title": "Expenses"
        }
      },
      "description": "Money in and out, and what is left: already worked out."
    },
    "Record": {
      "type": "object",
      "title": "Record",
      "required": [
        "id",
        "day",
        "what",
        "link"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "day": {
          "type": "string",
          "title": "Day"
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "what": {
          "type": "string",
          "title": "What"
        },
        "logged_by": {
          "type": "string",
          "title": "Logged By",
          "default": ""
        },
        "operation": {
          "type": "string",
          "title": "Operation",
          "default": ""
        }
      }
    },
    "Weather": {
      "type": "object",
      "title": "Weather",
      "required": [
        "state"
      ],
      "properties": {
        "now": {
          "anyOf": [
            {
              "$ref": "#/$defs/WeatherNow"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "days": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WeatherDay"
          },
          "title": "Days",
          "default": []
        },
        "state": {
          "type": "string",
          "title": "State"
        },
        "alerts": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WeatherAlert"
          },
          "title": "Alerts",
          "default": []
        },
        "warnings": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/WeatherWarning"
          },
          "title": "Warnings",
          "default": []
        },
        "temperature_unit": {
          "type": "string",
          "title": "Temperature Unit",
          "default": "C"
        }
      },
      "description": "``state`` is ready, location (the farm has no spot set) or unavailable."
    },
    "FarmCard": {
      "type": "object",
      "title": "FarmCard",
      "required": [
        "id",
        "name",
        "link"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        },
        "district": {
          "type": "string",
          "title": "District",
          "default": ""
        },
        "has_location": {
          "type": "boolean",
          "title": "Has Location",
          "default": false
        }
      }
    },
    "OpenDeal": {
      "type": "object",
      "title": "OpenDeal",
      "required": [
        "id",
        "link"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "total": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "listing": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Listing",
          "default": null
        },
        "quantity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quantity",
          "default": null
        },
        "your_side": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Your Side",
          "default": null
        }
      }
    },
    "FarmState": {
      "type": "object",
      "title": "FarmState",
      "required": [
        "farm",
        "weather",
        "units",
        "zones",
        "tasks_open",
        "tasks_overdue",
        "tasks_shown",
        "recent_records"
      ],
      "properties": {
        "farm": {
          "$ref": "#/$defs/FarmCard"
        },
        "money": {
          "anyOf": [
            {
              "$ref": "#/$defs/Margin"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "units": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Unit"
          },
          "title": "Units"
        },
        "zones": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Zone"
          },
          "title": "Zones"
        },
        "weather": {
          "$ref": "#/$defs/Weather"
        },
        "tasks_open": {
          "type": "integer",
          "title": "Tasks Open"
        },
        "tasks_shown": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Task"
          },
          "title": "Tasks Shown"
        },
        "tasks_overdue": {
          "type": "integer",
          "title": "Tasks Overdue"
        },
        "recent_records": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Record"
          },
          "title": "Recent Records"
        }
      }
    },
    "EventPlace": {
      "type": "object",
      "title": "EventPlace",
      "properties": {
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title",
          "default": null
        },
        "starts": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Starts",
          "default": null
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "event_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Event Id",
          "default": null
        }
      }
    },
    "WeatherDay": {
      "type": "object",
      "title": "WeatherDay",
      "required": [
        "date"
      ],
      "properties": {
        "max": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Max",
          "default": null
        },
        "min": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Min",
          "default": null
        },
        "date": {
          "type": "string",
          "title": "Date"
        },
        "summary": {
          "type": "string",
          "title": "Summary",
          "default": ""
        },
        "rain_chance": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Rain Chance",
          "default": null
        }
      }
    },
    "WeatherNow": {
      "type": "object",
      "title": "WeatherNow",
      "properties": {
        "temp": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Temp",
          "default": null
        },
        "summary": {
          "type": "string",
          "title": "Summary",
          "default": ""
        },
        "humidity": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Humidity",
          "default": null
        },
        "feels_like": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Feels Like",
          "default": null
        },
        "wind_speed": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Wind Speed",
          "default": null
        }
      }
    },
    "Conversation": {
      "type": "object",
      "title": "Conversation",
      "required": [
        "conversation_id",
        "link"
      ],
      "properties": {
        "link": {
          "type": "string",
          "title": "Link"
        },
        "unread": {
          "type": "integer",
          "title": "Unread",
          "default": 0
        },
        "with_whom": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "With Whom",
          "default": null
        },
        "last_message": {
          "type": "string",
          "title": "Last Message",
          "default": ""
        },
        "conversation_id": {
          "type": "string",
          "title": "Conversation Id"
        }
      }
    },
    "OfferWaiting": {
      "type": "object",
      "title": "OfferWaiting",
      "required": [
        "waiting_on_you"
      ],
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id",
          "default": null
        },
        "link": {
          "type": "string",
          "title": "Link",
          "default": ""
        },
        "total": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "listing": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Listing",
          "default": null
        },
        "quantity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quantity",
          "default": null
        },
        "waiting_on_you": {
          "type": "boolean",
          "title": "Waiting On You"
        }
      }
    },
    "WeatherAlert": {
      "type": "object",
      "title": "WeatherAlert",
      "properties": {
        "ends": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ends",
          "default": null
        },
        "event": {
          "type": "string",
          "title": "Event",
          "default": ""
        },
        "starts": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Starts",
          "default": null
        },
        "issued_by": {
          "type": "string",
          "title": "Issued By",
          "default": ""
        },
        "description": {
          "type": "string",
          "title": "Description",
          "default": ""
        }
      }
    },
    "WeatherWarning": {
      "type": "object",
      "title": "WeatherWarning",
      "required": [
        "date",
        "event",
        "severity"
      ],
      "properties": {
        "date": {
          "type": "string",
          "title": "Date"
        },
        "unit": {
          "type": "string",
          "title": "Unit",
          "default": ""
        },
        "event": {
          "type": "string",
          "title": "Event"
        },
        "place": {
          "type": "string",
          "title": "Place",
          "default": ""
        },
        "reading": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reading",
          "default": null
        },
        "severity": {
          "type": "string",
          "title": "Severity"
        }
      }
    }
  },
  "title": "FarmReport",
  "required": [
    "summary",
    "farms",
    "unread_threads",
    "unread",
    "offers_waiting",
    "deals_open",
    "events"
  ],
  "properties": {
    "farms": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FarmState"
      },
      "title": "Farms"
    },
    "events": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EventPlace"
      },
      "title": "Events"
    },
    "unread": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Conversation"
      },
      "title": "Unread"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "deals_open": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OpenDeal"
      },
      "title": "Deals Open"
    },
    "offers_waiting": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OfferWaiting"
      },
      "title": "Offers Waiting"
    },
    "unread_threads": {
      "type": "integer",
      "title": "Unread Threads"
    }
  }
}
farm_report annotations
{
  "title": "Farm report",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
set_up_farm — Set up a farm
Advertised by the server during the last successful anonymous check.

Add a farm the person owns. Say where with `lat`/`lng` (best: advice is then for that spot) or a town or district as `place` (its centre is used until the spot is set in the app). Divisi fills in the country, currency and time zone. Pass the same `client_id` (a UUID) to retry safely.

set_up_farm input schema
{
  "type": "object",
  "title": "set_up_farmArguments",
  "required": [
    "name"
  ],
  "properties": {
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat",
      "default": null
    },
    "lng": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lng",
      "default": null
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "description": {
      "type": "string",
      "title": "Description",
      "default": ""
    }
  }
}
set_up_farm output schema
{
  "type": "object",
  "title": "FarmSaved",
  "required": [
    "summary",
    "farm_id",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "default": null
    },
    "country": {
      "type": "string",
      "title": "Country",
      "default": ""
    },
    "farm_id": {
      "type": "string",
      "title": "Farm Id"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "district": {
      "type": "string",
      "title": "District",
      "default": ""
    },
    "finish_link": {
      "type": "string",
      "title": "Finish Link",
      "default": ""
    },
    "finish_in_divisi": {
      "type": "string",
      "title": "Finish In Divisi",
      "default": ""
    }
  }
}
set_up_farm annotations
{
  "title": "Set up a farm",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
update_farm — Update a farm
Advertised by the server during the last successful anonymous check.
Advertised destructive

Rename a farm, change its description, or move it (`lat`/`lng`, or a `place`). Only what is passed changes. Only farm owners and managers can change a farm. `farm_id` may be left out when the person has one farm.

update_farm input schema
{
  "type": "object",
  "title": "update_farmArguments",
  "properties": {
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat",
      "default": null
    },
    "lng": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lng",
      "default": null
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "default": null
    },
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "default": null
    }
  }
}
update_farm output schema
{
  "type": "object",
  "title": "FarmSaved",
  "required": [
    "summary",
    "farm_id",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "default": null
    },
    "country": {
      "type": "string",
      "title": "Country",
      "default": ""
    },
    "farm_id": {
      "type": "string",
      "title": "Farm Id"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "district": {
      "type": "string",
      "title": "District",
      "default": ""
    },
    "finish_link": {
      "type": "string",
      "title": "Finish Link",
      "default": ""
    },
    "finish_in_divisi": {
      "type": "string",
      "title": "Finish In Divisi",
      "default": ""
    }
  }
}
update_farm annotations
{
  "title": "Update a farm",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
add_zone — Add a field or pen
Advertised by the server during the last successful anonymous check.

Add a field, pen, pond or apiary to a farm. A name already used gets a number added. Only farm owners and managers can add one. Pass the same `client_id` (a UUID) to retry safely.

add_zone input schema
{
  "type": "object",
  "title": "add_zoneArguments",
  "required": [
    "name"
  ],
  "properties": {
    "kind": {
      "enum": [
        "FIELD",
        "COOP",
        "PADDOCK",
        "POND",
        "APIARY"
      ],
      "type": "string",
      "title": "Kind",
      "default": "FIELD"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "area_hectares": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Area Hectares",
      "default": null
    }
  }
}
add_zone output schema
{
  "type": "object",
  "title": "ZoneAdded",
  "required": [
    "summary",
    "zone_id",
    "farm_id",
    "name",
    "kind",
    "link"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "title": "Kind"
    },
    "link": {
      "type": "string",
      "title": "Link"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "farm_id": {
      "type": "string",
      "title": "Farm Id"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "zone_id": {
      "type": "string",
      "title": "Zone Id"
    },
    "finish_link": {
      "type": "string",
      "title": "Finish Link",
      "default": ""
    },
    "finish_in_divisi": {
      "type": "string",
      "title": "Finish In Divisi",
      "default": ""
    }
  }
}
add_zone annotations
{
  "title": "Add a field or pen",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
add_unit — Add a crop or batch
Advertised by the server during the last successful anonymous check.

Add something the person grows or keeps, the way the app does, and Divisi schedules its tasks. `what` is in their words: a crop ("maize"), or animals ("broilers", "layers", "road runners", "goats", "tilapia", "bees"); `kind` is worked out from it unless given. A crop goes on a field: `target_planting_date` is the day they mean to plant, `planting_date` only if it is already in the ground. Animals: `count` (needed for poultry), `start_date` (the day they arrived; today if left out) and optionally `ready_date`, the day they expect to sell, which is added as a task. `place` is the field, coop, pen, pond or apiary, by name or id; a new name makes one. Left out, the farm's only place of that kind is used. Only farm owners and managers can add one. Pass the same `client_id` (a UUID) to retry safely.

add_unit input schema
{
  "type": "object",
  "title": "add_unitArguments",
  "required": [
    "what"
  ],
  "properties": {
    "kind": {
      "anyOf": [
        {
          "enum": [
            "CROP",
            "BROILERS",
            "LAYERS",
            "VILLAGE_CHICKENS",
            "LIVESTOCK",
            "FISH",
            "BEES"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Kind",
      "default": null
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "default": null
    },
    "what": {
      "type": "string",
      "title": "What"
    },
    "count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Count",
      "default": null
    },
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "ready_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ready Date",
      "default": null
    },
    "start_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date",
      "default": null
    },
    "area_hectares": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Area Hectares",
      "default": null
    },
    "planting_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Planting Date",
      "default": null
    },
    "target_planting_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Planting Date",
      "default": null
    }
  }
}
add_unit output schema
{
  "type": "object",
  "title": "UnitAdded",
  "required": [
    "summary",
    "unit_id",
    "farm_id",
    "kind",
    "name",
    "what",
    "place_created",
    "tasks_planned",
    "next_tasks",
    "link"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "title": "Kind"
    },
    "link": {
      "type": "string",
      "title": "Link"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "what": {
      "type": "string",
      "title": "What"
    },
    "farm_id": {
      "type": "string",
      "title": "Farm Id"
    },
    "started": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Started",
      "default": null
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "unit_id": {
      "type": "string",
      "title": "Unit Id"
    },
    "zone_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Zone Id",
      "default": null
    },
    "head_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Head Count",
      "default": null
    },
    "next_tasks": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      },
      "title": "Next Tasks"
    },
    "ready_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ready Date",
      "default": null
    },
    "finish_link": {
      "type": "string",
      "title": "Finish Link",
      "default": ""
    },
    "place_created": {
      "type": "boolean",
      "title": "Place Created"
    },
    "planting_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Planting Date",
      "default": null
    },
    "tasks_planned": {
      "type": "integer",
      "title": "Tasks Planned"
    },
    "finish_in_divisi": {
      "type": "string",
      "title": "Finish In Divisi",
      "default": ""
    },
    "target_planting_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Planting Date",
      "default": null
    }
  }
}
add_unit annotations
{
  "title": "Add a crop or batch",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
log_work — Log work or money
Advertised by the server during the last successful anonymous check.

Write work done, money in or out, or both, into the farm records, in the person's words. `unit` names the crop or batch it was for (its name or id); leave it out for the whole farm. `day` defaults to today. Work: `what`, and optionally `operation` (PLANTING, WEEDING, FERTILISING, SPRAYING, IRRIGATION, SCOUTING, HARVEST, POST_HARVEST, LAND_PREP, FEEDING or OTHER). Money: `amount` with `money` ("income" or "expense"); `category` in their words or a code (feed, day-old chicks, vaccine, labour, transport, bird sale, crop sale…), worked out when left out; `currency` defaults to the farm's; `quantity` is how many were bought or sold (birds sold this way leave the flock count). Pass the same `client_id` (a UUID) to retry safely.

log_work input schema
{
  "type": "object",
  "title": "log_workArguments",
  "properties": {
    "day": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Day",
      "default": null
    },
    "unit": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Unit",
      "default": null
    },
    "what": {
      "type": "string",
      "title": "What",
      "default": ""
    },
    "money": {
      "anyOf": [
        {
          "enum": [
            "income",
            "expense"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Money",
      "default": null
    },
    "amount": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Amount",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "category": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Category",
      "default": null
    },
    "currency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Currency",
      "default": null
    },
    "quantity": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quantity",
      "default": null
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "operation": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Operation",
      "default": null
    }
  }
}
log_work output schema
{
  "type": "object",
  "$defs": {
    "MoneyRecorded": {
      "type": "object",
      "title": "MoneyRecorded",
      "required": [
        "ledger_entry_id",
        "direction",
        "amount",
        "currency",
        "category"
      ],
      "properties": {
        "amount": {
          "type": "number",
          "title": "Amount"
        },
        "category": {
          "type": "string",
          "title": "Category"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "for_what": {
          "type": "string",
          "title": "For What",
          "default": ""
        },
        "direction": {
          "type": "string",
          "title": "Direction"
        },
        "ledger_entry_id": {
          "type": "string",
          "title": "Ledger Entry Id"
        }
      }
    }
  },
  "title": "Logged",
  "required": [
    "summary",
    "farm_id",
    "day",
    "link"
  ],
  "properties": {
    "day": {
      "type": "string",
      "title": "Day"
    },
    "link": {
      "type": "string",
      "title": "Link"
    },
    "money": {
      "anyOf": [
        {
          "$ref": "#/$defs/MoneyRecorded"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "farm_id": {
      "type": "string",
      "title": "Farm Id"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "finish_link": {
      "type": "string",
      "title": "Finish Link",
      "default": ""
    },
    "diary_entry_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Diary Entry Id",
      "default": null
    },
    "finish_in_divisi": {
      "type": "string",
      "title": "Finish In Divisi",
      "default": ""
    }
  }
}
log_work annotations
{
  "title": "Log work or money",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
farm_money — Farm money
Advertised by the server during the last successful anonymous check.
Advertised read-only

Money in, money out and what is left, worked out: per crop or batch, for costs of the whole farm, and in total, with the totals by heading the app's income statement shows and the latest records. `unit` (a name or id) reads one crop or batch; `since`/`until` limit the days. Leave out `farm_id` to read every farm.

farm_money input schema
{
  "type": "object",
  "title": "farm_moneyArguments",
  "properties": {
    "unit": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Unit",
      "default": null
    },
    "since": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Since",
      "default": null
    },
    "until": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Until",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    }
  }
}
farm_money output schema
{
  "type": "object",
  "$defs": {
    "Margin": {
      "type": "object",
      "title": "Margin",
      "required": [
        "income",
        "expenses",
        "margin",
        "currency",
        "words"
      ],
      "properties": {
        "words": {
          "type": "string",
          "title": "Words"
        },
        "income": {
          "type": "number",
          "title": "Income"
        },
        "margin": {
          "type": "number",
          "title": "Margin"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "expenses": {
          "type": "number",
          "title": "Expenses"
        }
      },
      "description": "Money in and out, and what is left: already worked out."
    },
    "FarmCard": {
      "type": "object",
      "title": "FarmCard",
      "required": [
        "id",
        "name",
        "link"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        },
        "district": {
          "type": "string",
          "title": "District",
          "default": ""
        },
        "has_location": {
          "type": "boolean",
          "title": "Has Location",
          "default": false
        }
      }
    },
    "FarmBooks": {
      "type": "object",
      "title": "FarmBooks",
      "required": [
        "farm",
        "total",
        "units",
        "farm_wide",
        "by_group",
        "recent"
      ],
      "properties": {
        "farm": {
          "$ref": "#/$defs/FarmCard"
        },
        "since": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Since",
          "default": null
        },
        "total": {
          "$ref": "#/$defs/Margin"
        },
        "units": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UnitMoney"
          },
          "title": "Units"
        },
        "until": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Until",
          "default": null
        },
        "recent": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MoneyRecord"
          },
          "title": "Recent"
        },
        "by_group": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GroupTotal"
          },
          "title": "By Group"
        },
        "farm_wide": {
          "$ref": "#/$defs/Margin"
        }
      }
    },
    "UnitMoney": {
      "type": "object",
      "title": "UnitMoney",
      "required": [
        "income",
        "expenses",
        "margin",
        "currency",
        "words",
        "unit_id",
        "name",
        "records"
      ],
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "words": {
          "type": "string",
          "title": "Words"
        },
        "income": {
          "type": "number",
          "title": "Income"
        },
        "margin": {
          "type": "number",
          "title": "Margin"
        },
        "records": {
          "type": "integer",
          "title": "Records"
        },
        "unit_id": {
          "type": "string",
          "title": "Unit Id"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "expenses": {
          "type": "number",
          "title": "Expenses"
        }
      }
    },
    "GroupTotal": {
      "type": "object",
      "title": "GroupTotal",
      "required": [
        "direction",
        "group",
        "total",
        "currency",
        "records"
      ],
      "properties": {
        "group": {
          "type": "string",
          "title": "Group"
        },
        "total": {
          "type": "number",
          "title": "Total"
        },
        "records": {
          "type": "integer",
          "title": "Records"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "direction": {
          "type": "string",
          "title": "Direction"
        }
      }
    },
    "MoneyRecord": {
      "type": "object",
      "title": "MoneyRecord",
      "required": [
        "id",
        "day",
        "direction",
        "category",
        "amount",
        "currency"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "day": {
          "type": "string",
          "title": "Day"
        },
        "notes": {
          "type": "string",
          "title": "Notes",
          "default": ""
        },
        "amount": {
          "type": "number",
          "title": "Amount"
        },
        "category": {
          "type": "string",
          "title": "Category"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "for_what": {
          "type": "string",
          "title": "For What",
          "default": ""
        },
        "direction": {
          "type": "string",
          "title": "Direction"
        }
      }
    }
  },
  "title": "FarmMoney",
  "required": [
    "summary",
    "farms"
  ],
  "properties": {
    "farms": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FarmBooks"
      },
      "title": "Farms"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    }
  }
}
farm_money annotations
{
  "title": "Farm money",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
add_task — Add a farm task
Advertised by the server during the last successful anonymous check.

Add a task to a farm, due on `due_date` (within a year back or two years ahead), optionally for one crop or batch (`unit`, a name or id). It shows with the farm's other tasks in the app. Only owners and managers can add one. Pass the same `client_id` to retry safely.

add_task input schema
{
  "type": "object",
  "title": "add_taskArguments",
  "required": [
    "title",
    "due_date"
  ],
  "properties": {
    "unit": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Unit",
      "default": null
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "due_date": {
      "type": "string",
      "title": "Due Date",
      "format": "date"
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "description": {
      "type": "string",
      "title": "Description",
      "default": ""
    }
  }
}
add_task output schema
{
  "type": "object",
  "title": "TaskAdded",
  "required": [
    "summary",
    "task_id",
    "farm_id",
    "title",
    "due_date",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "farm_id": {
      "type": "string",
      "title": "Farm Id"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "task_id": {
      "type": "string",
      "title": "Task Id"
    },
    "due_date": {
      "type": "string",
      "title": "Due Date"
    }
  }
}
add_task annotations
{
  "title": "Add a farm task",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
update_task — Update a task
Advertised by the server during the last successful anonymous check.
Advertised destructive

Look after a task: mark it done (`done`, with an optional `note` of what was done and the `day`, today if left out), move it to another `due_date`, or rename it (`title`). `skip` takes it off the list for this season (a guide's task the person will not do) and `unskip` brings it back; `remove` deletes a task the person added themselves, and a task from a guide is skipped instead. Skip, unskip and remove stand alone. Only what is passed changes. Pass the same `client_id` (a UUID) to retry safely.

update_task input schema
{
  "type": "object",
  "title": "update_taskArguments",
  "required": [
    "task_id"
  ],
  "properties": {
    "day": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Day",
      "default": null
    },
    "done": {
      "type": "boolean",
      "title": "Done",
      "default": false
    },
    "note": {
      "type": "string",
      "title": "Note",
      "default": ""
    },
    "skip": {
      "type": "boolean",
      "title": "Skip",
      "default": false
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title",
      "default": null
    },
    "remove": {
      "type": "boolean",
      "title": "Remove",
      "default": false
    },
    "unskip": {
      "type": "boolean",
      "title": "Unskip",
      "default": false
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "task_id": {
      "type": "string",
      "title": "Task Id"
    },
    "due_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Due Date",
      "default": null
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    }
  }
}
update_task output schema
{
  "type": "object",
  "title": "TaskUpdated",
  "required": [
    "summary",
    "task_id",
    "farm_id",
    "title",
    "status",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "farm_id": {
      "type": "string",
      "title": "Farm Id"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "task_id": {
      "type": "string",
      "title": "Task Id"
    },
    "due_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Due Date",
      "default": null
    }
  }
}
update_task annotations
{
  "title": "Update a task",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
plan_season — Plan a season
Advertised by the server during the last successful anonymous check.

Write the person's own season plan for one crop or batch (`unit`, a name or id): the jobs they want and when. Divisi turns each into a task with a date that moves when they plant or the birds arrive, and shows it in the app beside the guide's own tasks. Work the plan out WITH the person and confirm the jobs and days before you write it. Each task is `name`, `anchor`, `start_day`, optionally `end_day`, `repeat_every_days` and `notes` (why, or how). `anchor` is what the days count from: "planting" (the day the crop goes in), "transplanting", "start of the season" (a crop already growing), or "arrival" (the day the birds or animals arrive). `start_day` is days after it (a negative number is before it); `end_day` is the last day it can still be done, the same as `start_day` if left out. A task that repeats needs `repeat_every_days` and an `end_day` for how long. At most 80 tasks. By default the tasks are added to the plan the person already has; `replace` writes this list instead, and tasks that left the plan come off their list (work already done stays). Pass the same `client_id` to retry safely.

plan_season input schema
{
  "type": "object",
  "$defs": {
    "SeasonTask": {
      "type": "object",
      "title": "SeasonTask",
      "required": [
        "name",
        "anchor",
        "start_day"
      ],
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "notes": {
          "type": "string",
          "title": "Notes",
          "default": ""
        },
        "anchor": {
          "type": "string",
          "title": "Anchor"
        },
        "end_day": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "End Day",
          "default": null
        },
        "start_day": {
          "type": "integer",
          "title": "Start Day"
        },
        "repeat_every_days": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Repeat Every Days",
          "default": null
        }
      },
      "description": "One job in a season plan, as the person said it."
    }
  },
  "title": "plan_seasonArguments",
  "required": [
    "unit",
    "tasks"
  ],
  "properties": {
    "unit": {
      "type": "string",
      "title": "Unit"
    },
    "tasks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SeasonTask"
      },
      "title": "Tasks"
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "replace": {
      "type": "boolean",
      "title": "Replace",
      "default": false
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    }
  }
}
plan_season output schema
{
  "type": "object",
  "$defs": {
    "PlannedTask": {
      "type": "object",
      "title": "PlannedTask",
      "required": [
        "id",
        "title",
        "status"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "due_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Due Date",
          "default": null
        }
      }
    }
  },
  "title": "SeasonPlanned",
  "required": [
    "summary",
    "unit_id",
    "farm_id",
    "tasks_planned",
    "tasks_dated",
    "next_tasks",
    "tasks",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "tasks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PlannedTask"
      },
      "title": "Tasks"
    },
    "farm_id": {
      "type": "string",
      "title": "Farm Id"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "unit_id": {
      "type": "string",
      "title": "Unit Id"
    },
    "next_tasks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PlannedTask"
      },
      "title": "Next Tasks"
    },
    "tasks_dated": {
      "type": "integer",
      "title": "Tasks Dated"
    },
    "tasks_planned": {
      "type": "integer",
      "title": "Tasks Planned"
    }
  }
}
plan_season annotations
{
  "title": "Plan a season",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
move_tasks — Move a unit's tasks
Advertised by the server during the last successful anonymous check.
Advertised destructive

Move a crop's or batch's tasks that are not done so the first of them falls on `start_on`, keeping the gaps between them: when planting slipped, or the birds came late. Work `start_on` out from what the person says: "two weeks later" is the current first date plus 14. `from_date` moves only tasks due on or after that day; `stage` only those in one stage of the plan. Skipped tasks stay put, and so do repeating tasks from a guide, which keep their own rhythm. Confirm the new date with the person first. Safe to retry: once the first task is on `start_on`, nothing more moves.

move_tasks input schema
{
  "type": "object",
  "title": "move_tasksArguments",
  "required": [
    "unit",
    "start_on"
  ],
  "properties": {
    "unit": {
      "type": "string",
      "title": "Unit"
    },
    "stage": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stage",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "start_on": {
      "type": "string",
      "title": "Start On",
      "format": "date"
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "from_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "From Date",
      "default": null
    }
  }
}
move_tasks output schema
{
  "type": "object",
  "title": "TasksMoved",
  "required": [
    "summary",
    "unit_id",
    "farm_id",
    "moved",
    "not_moved",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "moved": {
      "type": "integer",
      "title": "Moved"
    },
    "farm_id": {
      "type": "string",
      "title": "Farm Id"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "unit_id": {
      "type": "string",
      "title": "Unit Id"
    },
    "not_moved": {
      "type": "integer",
      "title": "Not Moved"
    },
    "first_due_date": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "First Due Date",
      "default": null
    }
  }
}
move_tasks annotations
{
  "title": "Move a unit's tasks",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
ask_agronomist — Ask an expert
Advertised by the server during the last successful anonymous check.
Open-world

Ask Divisi's agronomists, experts and other farmers by posting the question in Community as the person. It is public and free; answers come as replies in the app. `background` is what is known so far (crop stage, what was tried); the post says it was written with an AI assistant. Photos only as `{type, id}` refs already on Divisi. Pass the same `client_id` (a UUID) to retry safely.

ask_agronomist input schema
{
  "type": "object",
  "title": "ask_agronomistArguments",
  "required": [
    "question"
  ],
  "properties": {
    "crop": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Crop",
      "default": null
    },
    "media": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Media",
      "default": null
    },
    "question": {
      "type": "string",
      "title": "Question"
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "background": {
      "type": "string",
      "title": "Background",
      "default": ""
    }
  }
}
ask_agronomist output schema
{
  "type": "object",
  "title": "Asked",
  "required": [
    "summary",
    "post_id",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "post_id": {
      "type": "string",
      "title": "Post Id"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "created_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created At",
      "default": null
    },
    "photos_not_attached": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      },
      "title": "Photos Not Attached",
      "default": []
    }
  }
}
ask_agronomist annotations
{
  "title": "Ask an expert",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
inbox — Read the inbox
Advertised by the server during the last successful anonymous check.
Advertised read-only

The person's message conversations, newest first, each with who it is with, how many messages are unread and the last message. `search` matches a person, group or message text. Pages of 30. Reading marks nothing as read.

inbox input schema
{
  "type": "object",
  "title": "inboxArguments",
  "properties": {
    "page": {
      "type": "integer",
      "title": "Page",
      "default": 1
    },
    "search": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Search",
      "default": null
    }
  }
}
inbox output schema
{
  "type": "object",
  "$defs": {
    "Thread": {
      "type": "object",
      "title": "Thread",
      "required": [
        "conversation_id",
        "link"
      ],
      "properties": {
        "kind": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Kind",
          "default": null
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "unread": {
          "type": "integer",
          "title": "Unread",
          "default": 0
        },
        "with_whom": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "With Whom",
          "default": null
        },
        "updated_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Updated At",
          "default": null
        },
        "last_from_me": {
          "type": "boolean",
          "title": "Last From Me",
          "default": false
        },
        "last_message": {
          "type": "string",
          "title": "Last Message",
          "default": ""
        },
        "conversation_id": {
          "type": "string",
          "title": "Conversation Id"
        }
      }
    }
  },
  "title": "Inbox",
  "required": [
    "summary",
    "unread_threads",
    "threads"
  ],
  "properties": {
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "threads": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Thread"
      },
      "title": "Threads"
    },
    "next_page": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Page",
      "default": null
    },
    "unread_threads": {
      "type": "integer",
      "title": "Unread Threads"
    }
  }
}
inbox annotations
{
  "title": "Read the inbox",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
read_thread — Read a conversation
Advertised by the server during the last successful anonymous check.
Advertised read-only

The messages in one of the person's conversations, newest first, 30 a page. Only conversations they are in can be read.

read_thread input schema
{
  "type": "object",
  "title": "read_threadArguments",
  "required": [
    "conversation_id"
  ],
  "properties": {
    "page": {
      "type": "integer",
      "title": "Page",
      "default": 1
    },
    "conversation_id": {
      "type": "string",
      "title": "Conversation Id"
    }
  }
}
read_thread output schema
{
  "type": "object",
  "$defs": {
    "Person": {
      "type": "object",
      "title": "Person",
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id",
          "default": null
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name",
          "default": null
        }
      }
    },
    "Message": {
      "type": "object",
      "title": "Message",
      "required": [
        "mine"
      ],
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id",
          "default": null
        },
        "body": {
          "type": "string",
          "title": "Body",
          "default": ""
        },
        "kind": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Kind",
          "default": null
        },
        "mine": {
          "type": "boolean",
          "title": "Mine"
        },
        "sender": {
          "anyOf": [
            {
              "$ref": "#/$defs/Person"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "sent_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Sent At",
          "default": null
        },
        "has_media": {
          "type": "boolean",
          "title": "Has Media",
          "default": false
        }
      }
    }
  },
  "title": "ThreadMessages",
  "required": [
    "summary",
    "conversation_id",
    "link",
    "messages"
  ],
  "properties": {
    "kind": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Kind",
      "default": null
    },
    "link": {
      "type": "string",
      "title": "Link"
    },
    "status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status",
      "default": null
    },
    "unread": {
      "type": "integer",
      "title": "Unread",
      "default": 0
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "messages": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Message"
      },
      "title": "Messages"
    },
    "next_page": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Page",
      "default": null
    },
    "with_whom": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "With Whom",
      "default": null
    },
    "updated_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updated At",
      "default": null
    },
    "last_from_me": {
      "type": "boolean",
      "title": "Last From Me",
      "default": false
    },
    "last_message": {
      "type": "string",
      "title": "Last Message",
      "default": ""
    },
    "conversation_id": {
      "type": "string",
      "title": "Conversation Id"
    }
  }
}
read_thread annotations
{
  "title": "Read a conversation",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
send_message — Send a message
Advertised by the server during the last successful anonymous check.

Send a text message as the person: into a conversation they are in (`conversation_id`), or to a person (`to_person_id`), which opens or reuses their direct conversation. A first message to someone who does not follow them is a request the other person accepts first. Blocked people cannot be messaged. Pass the same `client_id` (a UUID) to retry safely.

send_message input schema
{
  "type": "object",
  "title": "send_messageArguments",
  "required": [
    "body"
  ],
  "properties": {
    "body": {
      "type": "string",
      "title": "Body"
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "to_person_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "To Person Id",
      "default": null
    },
    "conversation_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Conversation Id",
      "default": null
    }
  }
}
send_message output schema
{
  "type": "object",
  "title": "Sent",
  "required": [
    "summary",
    "message_id",
    "conversation_id",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "sent_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sent At",
      "default": null
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "message_id": {
      "type": "string",
      "title": "Message Id"
    },
    "thread_status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Thread Status",
      "default": null
    },
    "conversation_id": {
      "type": "string",
      "title": "Conversation Id"
    }
  }
}
send_message annotations
{
  "title": "Send a message",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
create_listing — List on the market
Advertised by the server during the last successful anonymous check.
Open-world

Put something on the Market as the person, from what they said in one sentence ("40 broilers ready on the 12th, Harare"): produce for sale (`kind` SALE) or something they want to buy (WANTED, with a `quantity`). `item` and `unit` are plain words ("tomatoes", "20 L bucket"). Left out, a sale takes the unit most local prices use and the usual local `price` (in major units, such as 12.50), and the place's currency; say that price to the person. `ready_on` (YYYY-MM-DD, up to 90 days ahead) lists it now as a pre-order. It needs a place: a town, one of their farms or a lat/lng; with none, their only farm. A sale needs a photo already on Divisi (`media` as `{type, id}` refs); without one the reply is the link to the screen where they add it, signed in on the web or in the app. Reuse `client_id` (a UUID) to retry. Nothing is charged.

create_listing input schema
{
  "type": "object",
  "title": "create_listingArguments",
  "required": [
    "kind",
    "item"
  ],
  "properties": {
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat",
      "default": null
    },
    "lng": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lng",
      "default": null
    },
    "item": {
      "type": "string",
      "title": "Item"
    },
    "kind": {
      "enum": [
        "SALE",
        "WANTED"
      ],
      "type": "string",
      "title": "Kind"
    },
    "unit": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Unit",
      "default": null
    },
    "media": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Media",
      "default": null
    },
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    },
    "price": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "currency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Currency",
      "default": null
    },
    "quantity": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quantity",
      "default": null
    },
    "ready_on": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ready On",
      "default": null
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "radius_km": {
      "type": "integer",
      "title": "Radius Km",
      "default": 25
    },
    "negotiable": {
      "type": "boolean",
      "title": "Negotiable",
      "default": true
    },
    "description": {
      "type": "string",
      "title": "Description",
      "default": ""
    }
  }
}
create_listing output schema
{
  "type": "object",
  "$defs": {
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    }
  },
  "title": "ListingMade",
  "required": [
    "summary",
    "listing_id",
    "link"
  ],
  "properties": {
    "kind": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Kind",
      "default": null
    },
    "link": {
      "type": "string",
      "title": "Link"
    },
    "price": {
      "anyOf": [
        {
          "$ref": "#/$defs/Money"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title",
      "default": null
    },
    "status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status",
      "default": null
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "listing_id": {
      "type": "string",
      "title": "Listing Id"
    }
  }
}
create_listing annotations
{
  "title": "List on the market",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
sell_harvest — Sell a crop or batch
Advertised by the server during the last successful anonymous check.
Open-world

Put a crop or a batch of animals from the person's farm up for sale, as it nears harvest or slaughter. Divisi fills in what it knows: what it is and its variety, the farm's place and currency, how many animals the batch holds today, the day it is ready (listed ahead as a pre-order up to 90 days early), the unit most local prices use, and the usual local price when no `price` is given (say that price to the person). Give any of them to change it. Without `production_unit_id`, their only crop or batch; with several, the error lists them to choose from. A sale needs a photo already on Divisi (`media` as `{type, id}` refs); without one the reply is the link to the screen where they add it, signed in on the web or in the app. Reuse `client_id` to retry.

sell_harvest input schema
{
  "type": "object",
  "title": "sell_harvestArguments",
  "properties": {
    "unit": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Unit",
      "default": null
    },
    "media": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Media",
      "default": null
    },
    "price": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "quantity": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quantity",
      "default": null
    },
    "ready_on": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ready On",
      "default": null
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "description": {
      "type": "string",
      "title": "Description",
      "default": ""
    },
    "production_unit_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Production Unit Id",
      "default": null
    }
  }
}
sell_harvest output schema
{
  "type": "object",
  "$defs": {
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    },
    "PriceRange": {
      "type": "object",
      "title": "PriceRange",
      "required": [
        "low",
        "typical",
        "high",
        "currency",
        "unit",
        "sample_size",
        "area"
      ],
      "properties": {
        "low": {
          "type": "string",
          "title": "Low"
        },
        "area": {
          "type": "string",
          "title": "Area"
        },
        "high": {
          "type": "string",
          "title": "High"
        },
        "unit": {
          "type": "string",
          "title": "Unit"
        },
        "typical": {
          "type": "string",
          "title": "Typical"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "latest_seen": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Latest Seen",
          "default": null
        },
        "sample_size": {
          "type": "integer",
          "title": "Sample Size"
        }
      },
      "description": "The typical price per unit Divisi has seen near a place."
    }
  },
  "title": "HarvestListed",
  "required": [
    "summary",
    "listing_id",
    "link",
    "unit"
  ],
  "properties": {
    "kind": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Kind",
      "default": null
    },
    "link": {
      "type": "string",
      "title": "Link"
    },
    "unit": {
      "type": "string",
      "title": "Unit"
    },
    "price": {
      "anyOf": [
        {
          "$ref": "#/$defs/Money"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title",
      "default": null
    },
    "status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status",
      "default": null
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "quantity": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quantity",
      "default": null
    },
    "ready_on": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ready On",
      "default": null
    },
    "listing_id": {
      "type": "string",
      "title": "Listing Id"
    },
    "typical_price": {
      "anyOf": [
        {
          "$ref": "#/$defs/PriceRange"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "price_was_typical": {
      "type": "boolean",
      "title": "Price Was Typical",
      "default": false
    }
  },
  "description": "A sale listed from a crop or a flock, with what Divisi filled in."
}
sell_harvest annotations
{
  "title": "Sell a crop or batch",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
manage_listing — Keep a listing up
Advertised by the server during the last successful anonymous check.
Advertised destructive

Keep one of the person's listings up to date: `renew` keeps it on the Market (with `quantity_available`, how many are left now), `sold` takes it down as sold out, `hide` takes it off the Market for now and `show` puts a hidden one back. Reuse `client_id` to retry.

manage_listing input schema
{
  "type": "object",
  "title": "manage_listingArguments",
  "required": [
    "listing_id",
    "action"
  ],
  "properties": {
    "action": {
      "enum": [
        "renew",
        "sold",
        "hide",
        "show"
      ],
      "type": "string",
      "title": "Action"
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "listing_id": {
      "type": "string",
      "title": "Listing Id"
    },
    "quantity_available": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quantity Available",
      "default": null
    }
  }
}
manage_listing output schema
{
  "type": "object",
  "title": "ListingKept",
  "required": [
    "summary",
    "listing_id",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title",
      "default": null
    },
    "status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status",
      "default": null
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "expires_on": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires On",
      "default": null
    },
    "listing_id": {
      "type": "string",
      "title": "Listing Id"
    },
    "quantity_available": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quantity Available",
      "default": null
    }
  }
}
manage_listing annotations
{
  "title": "Keep a listing up",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
record_sale — Write down a sale
Advertised by the server during the last successful anonymous check.

Write down a sale from one of the person's listings that happened outside Divisi (at the gate, on WhatsApp): `quantity` of the listing's unit at `price_per_unit`, on `sold_on` (YYYY-MM-DD, today if left out), to `buyer` if they want a name. What is left on the listing goes down, and the money goes into the farm's books. Reuse `client_id` to retry.

record_sale input schema
{
  "type": "object",
  "title": "record_saleArguments",
  "required": [
    "listing_id",
    "quantity",
    "price_per_unit"
  ],
  "properties": {
    "note": {
      "type": "string",
      "title": "Note",
      "default": ""
    },
    "buyer": {
      "type": "string",
      "title": "Buyer",
      "default": ""
    },
    "sold_on": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sold On",
      "default": null
    },
    "quantity": {
      "type": "number",
      "title": "Quantity"
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "listing_id": {
      "type": "string",
      "title": "Listing Id"
    },
    "price_per_unit": {
      "type": "number",
      "title": "Price Per Unit"
    }
  }
}
record_sale output schema
{
  "type": "object",
  "$defs": {
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    }
  },
  "title": "SaleRecorded",
  "required": [
    "summary",
    "sale_id",
    "listing_id",
    "total",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "total": {
      "$ref": "#/$defs/Money"
    },
    "sale_id": {
      "type": "string",
      "title": "Sale Id"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "listing_id": {
      "type": "string",
      "title": "Listing Id"
    },
    "listing_status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Listing Status",
      "default": null
    }
  }
}
record_sale annotations
{
  "title": "Write down a sale",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
make_offer — Make an offer
Advertised by the server during the last successful anonymous check.

Offer to buy from (or sell to) a listing as the person: `quantity` of its unit at `price_per_unit` in major units. A buyer chooses how to pay: `divisi` (the default where Divisi can take the payment: they pay before meeting and the money is held until they have the goods) or `cash` when they meet. The reply says which it is. The other person answers in Divisi. Reuse `client_id` to retry.

make_offer input schema
{
  "type": "object",
  "title": "make_offerArguments",
  "required": [
    "listing_id",
    "quantity",
    "price_per_unit"
  ],
  "properties": {
    "message": {
      "type": "string",
      "title": "Message",
      "default": ""
    },
    "delivery": {
      "type": "boolean",
      "title": "Delivery",
      "default": false
    },
    "pay_with": {
      "anyOf": [
        {
          "enum": [
            "divisi",
            "cash"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pay With",
      "default": null
    },
    "quantity": {
      "type": "number",
      "title": "Quantity"
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "listing_id": {
      "type": "string",
      "title": "Listing Id"
    },
    "price_per_unit": {
      "type": "number",
      "title": "Price Per Unit"
    }
  }
}
make_offer output schema
{
  "type": "object",
  "$defs": {
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    },
    "Offer": {
      "type": "object",
      "title": "Offer",
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id",
          "default": null
        },
        "total": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "quantity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quantity",
          "default": null
        },
        "listing_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Listing Id",
          "default": null
        },
        "pay_method": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pay Method",
          "default": null
        },
        "price_per_unit": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      }
    }
  },
  "title": "OfferMade",
  "required": [
    "summary",
    "offer",
    "pay_with",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "offer": {
      "$ref": "#/$defs/Offer"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "pay_with": {
      "enum": [
        "divisi",
        "cash"
      ],
      "type": "string",
      "title": "Pay With"
    },
    "divisi_unavailable": {
      "type": "boolean",
      "title": "Divisi Unavailable",
      "default": false
    }
  }
}
make_offer annotations
{
  "title": "Make an offer",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
respond_to_offer — Answer an offer
Advertised by the server during the last successful anonymous check.
Advertised destructive

Answer an offer the person received: `accept` (makes a deal), `decline`, or `counter` with another `price_per_unit` (and `quantity`, the same as asked if left out). `withdraw` takes back one they made. A buyer accepting may choose `pay_with`; otherwise the offer's own choice stands. The reply says how the deal is paid. Reuse `client_id` to retry.

respond_to_offer input schema
{
  "type": "object",
  "title": "respond_to_offerArguments",
  "required": [
    "offer_id",
    "action"
  ],
  "properties": {
    "action": {
      "enum": [
        "accept",
        "decline",
        "withdraw",
        "counter"
      ],
      "type": "string",
      "title": "Action"
    },
    "message": {
      "type": "string",
      "title": "Message",
      "default": ""
    },
    "offer_id": {
      "type": "string",
      "title": "Offer Id"
    },
    "pay_with": {
      "anyOf": [
        {
          "enum": [
            "divisi",
            "cash"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pay With",
      "default": null
    },
    "quantity": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quantity",
      "default": null
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "price_per_unit": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Per Unit",
      "default": null
    }
  }
}
respond_to_offer output schema
{
  "type": "object",
  "$defs": {
    "Deal": {
      "type": "object",
      "title": "Deal",
      "required": [
        "link"
      ],
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id",
          "default": null
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "pay_with": {
          "anyOf": [
            {
              "enum": [
                "divisi",
                "cash"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pay With",
          "default": null
        }
      }
    },
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    },
    "Offer": {
      "type": "object",
      "title": "Offer",
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id",
          "default": null
        },
        "total": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "quantity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quantity",
          "default": null
        },
        "listing_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Listing Id",
          "default": null
        },
        "pay_method": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pay Method",
          "default": null
        },
        "price_per_unit": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      }
    }
  },
  "title": "OfferAnswered",
  "required": [
    "summary",
    "offer"
  ],
  "properties": {
    "deal": {
      "anyOf": [
        {
          "$ref": "#/$defs/Deal"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "offer": {
      "$ref": "#/$defs/Offer"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "divisi_unavailable": {
      "type": "boolean",
      "title": "Divisi Unavailable",
      "default": false
    }
  }
}
respond_to_offer annotations
{
  "title": "Answer an offer",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
my_deals — My deals
Advertised by the server during the last successful anonymous check.
Advertised read-only

The person's Market deals that are still going, as buyer and seller, most recently changed first (`include_finished` adds closed ones): what was agreed, how it is paid (cash, or through Divisi), where the money is (unpaid, held until the buyer has the goods, paid out, refunded, being checked), where the handover code is, and the one thing to do next. Also the offers waiting for the person's answer.

my_deals input schema
{
  "type": "object",
  "title": "my_dealsArguments",
  "properties": {
    "side": {
      "enum": [
        "all",
        "buying",
        "selling"
      ],
      "type": "string",
      "title": "Side",
      "default": "all"
    },
    "include_finished": {
      "type": "boolean",
      "title": "Include Finished",
      "default": false
    }
  }
}
my_deals output schema
{
  "type": "object",
  "$defs": {
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    },
    "DealCard": {
      "type": "object",
      "title": "DealCard",
      "required": [
        "id",
        "what",
        "side",
        "status",
        "pay_with",
        "payment",
        "code",
        "next_step",
        "needs_you",
        "link"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "code": {
          "enum": [
            "show_when_you_have_the_goods",
            "ask_the_buyer",
            "after_payment",
            "locked",
            "used",
            "none"
          ],
          "type": "string",
          "title": "Code"
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "side": {
          "enum": [
            "buying",
            "selling"
          ],
          "type": "string",
          "title": "Side"
        },
        "what": {
          "type": "string",
          "title": "What"
        },
        "total": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "payment": {
          "enum": [
            "cash",
            "unpaid",
            "held",
            "released",
            "refund_coming",
            "refunded",
            "in_dispute",
            "none"
          ],
          "type": "string",
          "title": "Payment"
        },
        "pay_with": {
          "enum": [
            "divisi",
            "cash"
          ],
          "type": "string",
          "title": "Pay With"
        },
        "quantity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quantity",
          "default": null
        },
        "code_note": {
          "type": "string",
          "title": "Code Note",
          "default": ""
        },
        "needs_you": {
          "type": "boolean",
          "title": "Needs You"
        },
        "next_step": {
          "type": "string",
          "title": "Next Step"
        },
        "paid_out_on": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Paid Out On",
          "default": null
        },
        "hand_over_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Hand Over By",
          "default": null
        }
      }
    },
    "WaitingOffer": {
      "type": "object",
      "title": "WaitingOffer",
      "required": [
        "id",
        "listing_id",
        "what",
        "pay_with",
        "link"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "what": {
          "type": "string",
          "title": "What"
        },
        "total": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "pay_with": {
          "enum": [
            "divisi",
            "cash"
          ],
          "type": "string",
          "title": "Pay With"
        },
        "quantity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quantity",
          "default": null
        },
        "listing_id": {
          "type": "string",
          "title": "Listing Id"
        }
      }
    }
  },
  "title": "MyDeals",
  "required": [
    "summary",
    "deals",
    "offers_waiting"
  ],
  "properties": {
    "deals": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DealCard"
      },
      "title": "Deals"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "offers_waiting": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WaitingOffer"
      },
      "title": "Offers Waiting"
    }
  }
}
my_deals annotations
{
  "title": "My deals",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
update_deal — Move a deal on
Advertised by the server during the last successful anonymous check.
Advertised destructive

Move one of the person's deals on. A seller: `handed_over` with the 4-digit `code` the buyer shows them (ask the seller for it; never guess), `more_time` (once) to hand over a deal paid through Divisi. A buyer: `problem` (`missing`, `wrong` or `damaged`; the money waits until Divisi decides), `new_code` after too many wrong codes. Saying all is right pays the seller, so the buyer does that themselves in Divisi, from the deal's link. Either: `cancel` before handover (a buyer who paid gets it all back), `no_show` when the other person did not come. No money is paid here. Reuse `client_id` to retry.

update_deal input schema
{
  "type": "object",
  "title": "update_dealArguments",
  "required": [
    "deal_id",
    "action"
  ],
  "properties": {
    "code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Code",
      "default": null
    },
    "action": {
      "enum": [
        "handed_over",
        "problem",
        "cancel",
        "no_show",
        "more_time",
        "new_code"
      ],
      "type": "string",
      "title": "Action"
    },
    "deal_id": {
      "type": "string",
      "title": "Deal Id"
    },
    "problem": {
      "anyOf": [
        {
          "enum": [
            "missing",
            "wrong",
            "damaged"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Problem",
      "default": null
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    }
  }
}
update_deal output schema
{
  "type": "object",
  "$defs": {
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    },
    "DealCard": {
      "type": "object",
      "title": "DealCard",
      "required": [
        "id",
        "what",
        "side",
        "status",
        "pay_with",
        "payment",
        "code",
        "next_step",
        "needs_you",
        "link"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "code": {
          "enum": [
            "show_when_you_have_the_goods",
            "ask_the_buyer",
            "after_payment",
            "locked",
            "used",
            "none"
          ],
          "type": "string",
          "title": "Code"
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "side": {
          "enum": [
            "buying",
            "selling"
          ],
          "type": "string",
          "title": "Side"
        },
        "what": {
          "type": "string",
          "title": "What"
        },
        "total": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "payment": {
          "enum": [
            "cash",
            "unpaid",
            "held",
            "released",
            "refund_coming",
            "refunded",
            "in_dispute",
            "none"
          ],
          "type": "string",
          "title": "Payment"
        },
        "pay_with": {
          "enum": [
            "divisi",
            "cash"
          ],
          "type": "string",
          "title": "Pay With"
        },
        "quantity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quantity",
          "default": null
        },
        "code_note": {
          "type": "string",
          "title": "Code Note",
          "default": ""
        },
        "needs_you": {
          "type": "boolean",
          "title": "Needs You"
        },
        "next_step": {
          "type": "string",
          "title": "Next Step"
        },
        "paid_out_on": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Paid Out On",
          "default": null
        },
        "hand_over_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Hand Over By",
          "default": null
        }
      }
    }
  },
  "title": "DealMoved",
  "required": [
    "summary",
    "deal"
  ],
  "properties": {
    "deal": {
      "$ref": "#/$defs/DealCard"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    }
  }
}
update_deal annotations
{
  "title": "Move a deal on",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
pay_deal — Pay for a deal
Advertised by the server during the last successful anonymous check.
Advertised read-only

What paying for one of the person's deals through Divisi takes, and the page in Divisi where they pay it themselves: how much comes from their Credit, how much by card (and in which currency the card is charged), whether their balance covers it, and the fee. The assistant never pays; give the person the link. Divisi holds the money until they have the goods and gives it all back if the deal falls through.

pay_deal input schema
{
  "type": "object",
  "title": "pay_dealArguments",
  "required": [
    "deal_id"
  ],
  "properties": {
    "deal_id": {
      "type": "string",
      "title": "Deal Id"
    }
  }
}
pay_deal output schema
{
  "type": "object",
  "$defs": {
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    },
    "PayQuote": {
      "type": "object",
      "title": "PayQuote",
      "required": [
        "total",
        "fee"
      ],
      "properties": {
        "fee": {
          "type": "string",
          "title": "Fee"
        },
        "total": {
          "$ref": "#/$defs/Money"
        },
        "by_card": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "good_until": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Good Until",
          "default": null
        },
        "from_credit": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "balance_covers": {
          "type": "boolean",
          "title": "Balance Covers",
          "default": false
        }
      }
    }
  },
  "title": "PayDeal",
  "required": [
    "summary",
    "deal_id",
    "what",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "what": {
      "type": "string",
      "title": "What"
    },
    "quote": {
      "anyOf": [
        {
          "$ref": "#/$defs/PayQuote"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "deal_id": {
      "type": "string",
      "title": "Deal Id"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "card_payment_open": {
      "type": "boolean",
      "title": "Card Payment Open",
      "default": false
    }
  }
}
pay_deal annotations
{
  "title": "Pay for a deal",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
review_deal — Rate a deal
Advertised by the server during the last successful anonymous check.

Rate the other person on a finished deal, 1 to 5 `stars`, with a short `comment` if they want one. Others see it when they decide whether to trade with them. Reuse `client_id` to retry.

review_deal input schema
{
  "type": "object",
  "title": "review_dealArguments",
  "required": [
    "deal_id",
    "stars"
  ],
  "properties": {
    "stars": {
      "type": "integer",
      "title": "Stars"
    },
    "comment": {
      "type": "string",
      "title": "Comment",
      "default": ""
    },
    "deal_id": {
      "type": "string",
      "title": "Deal Id"
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    }
  }
}
review_deal output schema
{
  "type": "object",
  "title": "Reviewed",
  "required": [
    "summary",
    "review_id",
    "stars"
  ],
  "properties": {
    "reply": {
      "type": "string",
      "title": "Reply",
      "default": ""
    },
    "stars": {
      "type": "integer",
      "title": "Stars"
    },
    "comment": {
      "type": "string",
      "title": "Comment",
      "default": ""
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "review_id": {
      "type": "string",
      "title": "Review Id"
    }
  }
}
review_deal annotations
{
  "title": "Rate a deal",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
reply_to_review — Answer a rating
Advertised by the server during the last successful anonymous check.

Answer a rating someone gave the person, once, in their own words. It shows under the rating.

reply_to_review input schema
{
  "type": "object",
  "title": "reply_to_reviewArguments",
  "required": [
    "review_id",
    "reply"
  ],
  "properties": {
    "reply": {
      "type": "string",
      "title": "Reply"
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "review_id": {
      "type": "string",
      "title": "Review Id"
    }
  }
}
reply_to_review output schema
{
  "type": "object",
  "title": "Reviewed",
  "required": [
    "summary",
    "review_id",
    "stars"
  ],
  "properties": {
    "reply": {
      "type": "string",
      "title": "Reply",
      "default": ""
    },
    "stars": {
      "type": "integer",
      "title": "Stars"
    },
    "comment": {
      "type": "string",
      "title": "Comment",
      "default": ""
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "review_id": {
      "type": "string",
      "title": "Review Id"
    }
  }
}
reply_to_review annotations
{
  "title": "Answer a rating",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
my_money — My money
Advertised by the server during the last successful anonymous check.
Advertised read-only

The person's money in Divisi: what is theirs to spend or withdraw, what is coming from sales (held until each buyer has the goods, with the day it is paid out), money on its way to their bank or phone, anything they owe, their Credit and when it runs out, refunds coming back to them, and the fee. `currency` (e.g. USD) keeps only that one. Read only.

my_money input schema
{
  "type": "object",
  "title": "my_moneyArguments",
  "properties": {
    "currency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Currency",
      "default": null
    }
  }
}
my_money output schema
{
  "type": "object",
  "$defs": {
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    },
    "Credit": {
      "type": "object",
      "title": "Credit",
      "required": [
        "currency",
        "available",
        "held",
        "expiring"
      ],
      "properties": {
        "held": {
          "$ref": "#/$defs/Money"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "expiring": {
          "$ref": "#/$defs/Money"
        },
        "available": {
          "$ref": "#/$defs/Money"
        },
        "next_expires_on": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Next Expires On",
          "default": null
        }
      }
    },
    "Pocket": {
      "type": "object",
      "title": "Pocket",
      "required": [
        "currency",
        "available",
        "coming",
        "withdrawing",
        "owed"
      ],
      "properties": {
        "owed": {
          "$ref": "#/$defs/Money"
        },
        "coming": {
          "$ref": "#/$defs/Money"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "available": {
          "$ref": "#/$defs/Money"
        },
        "withdrawing": {
          "$ref": "#/$defs/Money"
        }
      }
    },
    "DealMoney": {
      "type": "object",
      "title": "DealMoney",
      "required": [
        "deal_id",
        "what",
        "amount"
      ],
      "properties": {
        "on": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "On",
          "default": null
        },
        "what": {
          "type": "string",
          "title": "What"
        },
        "amount": {
          "$ref": "#/$defs/Money"
        },
        "deal_id": {
          "type": "string",
          "title": "Deal Id"
        }
      }
    },
    "Withdrawal": {
      "type": "object",
      "title": "Withdrawal",
      "required": [
        "amount",
        "status"
      ],
      "properties": {
        "amount": {
          "$ref": "#/$defs/Money"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "asked_on": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Asked On",
          "default": null
        }
      }
    }
  },
  "title": "MyMoney",
  "required": [
    "summary",
    "enabled",
    "pockets",
    "credit",
    "withdrawals",
    "coming_from_sales",
    "refunds_coming",
    "fee",
    "link"
  ],
  "properties": {
    "fee": {
      "type": "string",
      "title": "Fee"
    },
    "link": {
      "type": "string",
      "title": "Link"
    },
    "credit": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Credit"
      },
      "title": "Credit"
    },
    "enabled": {
      "type": "boolean",
      "title": "Enabled"
    },
    "pockets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Pocket"
      },
      "title": "Pockets"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "withdrawals": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Withdrawal"
      },
      "title": "Withdrawals"
    },
    "refunds_coming": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DealMoney"
      },
      "title": "Refunds Coming"
    },
    "coming_from_sales": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DealMoney"
      },
      "title": "Coming From Sales"
    }
  }
}
my_money annotations
{
  "title": "My money",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
rsvp — Go to an event
Advertised by the server during the last successful anonymous check.

Take a place at an event as the person. A full event puts them on its waiting list. Retrying is safe: one place each.

rsvp input schema
{
  "type": "object",
  "title": "rsvpArguments",
  "required": [
    "event_id"
  ],
  "properties": {
    "event_id": {
      "type": "string",
      "title": "Event Id"
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    }
  }
}
rsvp output schema
{
  "type": "object",
  "$defs": {
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    },
    "Ticket": {
      "type": "object",
      "title": "Ticket",
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id",
          "default": null
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "status_label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status Label",
          "default": null
        }
      }
    },
    "EventCard": {
      "type": "object",
      "title": "EventCard",
      "required": [
        "id",
        "link"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "host": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Host",
          "default": null
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "going": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Going",
          "default": null
        },
        "place": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Place",
          "default": null
        },
        "price": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title",
          "default": null
        },
        "venue": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Venue",
          "default": null
        },
        "format": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Format",
          "default": null
        },
        "starts": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Starts",
          "default": null
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "ends_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ends At",
          "default": null
        },
        "capacity": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Capacity",
          "default": null
        },
        "timezone": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Timezone",
          "default": null
        },
        "starts_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Starts At",
          "default": null
        }
      }
    }
  },
  "title": "Place",
  "required": [
    "summary",
    "event_id",
    "ticket",
    "event"
  ],
  "properties": {
    "event": {
      "$ref": "#/$defs/EventCard"
    },
    "ticket": {
      "$ref": "#/$defs/Ticket"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "event_id": {
      "type": "string",
      "title": "Event Id"
    }
  }
}
rsvp annotations
{
  "title": "Go to an event",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
cancel_rsvp — Cancel an event place
Advertised by the server during the last successful anonymous check.
Advertised destructive

Give up the person's place at an event, so the next person waiting gets it.

cancel_rsvp input schema
{
  "type": "object",
  "title": "cancel_rsvpArguments",
  "required": [
    "event_id"
  ],
  "properties": {
    "event_id": {
      "type": "string",
      "title": "Event Id"
    }
  }
}
cancel_rsvp output schema
{
  "type": "object",
  "$defs": {
    "Money": {
      "type": "object",
      "title": "Money",
      "required": [
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "title": "Label",
          "default": ""
        },
        "amount": {
          "type": "string",
          "title": "Amount"
        },
        "currency": {
          "type": "string",
          "title": "Currency",
          "default": ""
        }
      }
    },
    "Ticket": {
      "type": "object",
      "title": "Ticket",
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id",
          "default": null
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "status_label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status Label",
          "default": null
        }
      }
    },
    "EventCard": {
      "type": "object",
      "title": "EventCard",
      "required": [
        "id",
        "link"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "host": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Host",
          "default": null
        },
        "link": {
          "type": "string",
          "title": "Link"
        },
        "going": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Going",
          "default": null
        },
        "place": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Place",
          "default": null
        },
        "price": {
          "anyOf": [
            {
              "$ref": "#/$defs/Money"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title",
          "default": null
        },
        "venue": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Venue",
          "default": null
        },
        "format": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Format",
          "default": null
        },
        "starts": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Starts",
          "default": null
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status",
          "default": null
        },
        "ends_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ends At",
          "default": null
        },
        "capacity": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Capacity",
          "default": null
        },
        "timezone": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Timezone",
          "default": null
        },
        "starts_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Starts At",
          "default": null
        }
      }
    }
  },
  "title": "Place",
  "required": [
    "summary",
    "event_id",
    "ticket",
    "event"
  ],
  "properties": {
    "event": {
      "$ref": "#/$defs/EventCard"
    },
    "ticket": {
      "$ref": "#/$defs/Ticket"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "event_id": {
      "type": "string",
      "title": "Event Id"
    }
  }
}
cancel_rsvp annotations
{
  "title": "Cancel an event place",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
express_interest — Ask for a service
Advertised by the server during the last successful anonymous check.

Tell Divisi the person needs a service where they farm, so they are told when it arrives there. `need`: inputs (seed and fertiliser), finance (a farm loan), insurance (cover), tractor, transport (to market), agronomist (an expert visit), soil_test, vet, storage, events (field days), labour (farm hands) or control (stopping a pest or disease, named in `pest_or_disease`). `detail` narrows it when asked: inputs seed or fertiliser; finance inputs, equipment or cash; insurance crop, animals or family; labour planting or harvest. `crop` names the crop for seed, fertiliser, loans, crop cover and field days. `remind_on` asks for a reminder that day instead. The place is their farm's area. This is demand, not an application: nothing is shared and nothing is paid. Asking twice keeps one request; pass the same `client_id` to retry.

express_interest input schema
{
  "type": "object",
  "title": "express_interestArguments",
  "required": [
    "need"
  ],
  "properties": {
    "crop": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Crop",
      "default": null
    },
    "need": {
      "enum": [
        "inputs",
        "finance",
        "insurance",
        "tractor",
        "transport",
        "agronomist",
        "soil_test",
        "vet",
        "storage",
        "events",
        "labour",
        "control"
      ],
      "type": "string",
      "title": "Need"
    },
    "detail": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Detail",
      "default": null
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "remind_on": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Remind On",
      "default": null
    },
    "pest_or_disease": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pest Or Disease",
      "default": null
    }
  }
}
express_interest output schema
{
  "type": "object",
  "$defs": {
    "Request": {
      "type": "object",
      "title": "Request",
      "required": [
        "id",
        "need",
        "line",
        "status"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "area": {
          "type": "string",
          "title": "Area",
          "default": ""
        },
        "crop": {
          "type": "string",
          "title": "Crop",
          "default": ""
        },
        "line": {
          "type": "string",
          "title": "Line"
        },
        "need": {
          "type": "string",
          "title": "Need"
        },
        "detail": {
          "type": "string",
          "title": "Detail",
          "default": ""
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "remind_on": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Remind On",
          "default": null
        },
        "arrived_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Arrived At",
          "default": null
        },
        "status_line": {
          "type": "string",
          "title": "Status Line",
          "default": ""
        },
        "arrival_link": {
          "type": "string",
          "title": "Arrival Link",
          "default": ""
        },
        "arrival_message": {
          "type": "string",
          "title": "Arrival Message",
          "default": ""
        },
        "pest_or_disease": {
          "type": "string",
          "title": "Pest Or Disease",
          "default": ""
        }
      }
    }
  },
  "title": "Asked",
  "required": [
    "summary",
    "request",
    "what_happens",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "request": {
      "$ref": "#/$defs/Request"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "what_happens": {
      "type": "string",
      "title": "What Happens"
    }
  }
}
express_interest annotations
{
  "title": "Ask for a service",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
my_requests — My service requests
Advertised by the server during the last successful anonymous check.
Advertised read-only

The services the person has asked Divisi for and still wants, newest first: waiting, reminders set, and what has reached their area (with where to get it). `need` keeps one kind, such as tractor.

my_requests input schema
{
  "type": "object",
  "title": "my_requestsArguments",
  "properties": {
    "need": {
      "anyOf": [
        {
          "enum": [
            "inputs",
            "finance",
            "insurance",
            "tractor",
            "transport",
            "agronomist",
            "soil_test",
            "vet",
            "storage",
            "events",
            "labour",
            "control"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Need",
      "default": null
    }
  }
}
my_requests output schema
{
  "type": "object",
  "$defs": {
    "Request": {
      "type": "object",
      "title": "Request",
      "required": [
        "id",
        "need",
        "line",
        "status"
      ],
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "area": {
          "type": "string",
          "title": "Area",
          "default": ""
        },
        "crop": {
          "type": "string",
          "title": "Crop",
          "default": ""
        },
        "line": {
          "type": "string",
          "title": "Line"
        },
        "need": {
          "type": "string",
          "title": "Need"
        },
        "detail": {
          "type": "string",
          "title": "Detail",
          "default": ""
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "remind_on": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Remind On",
          "default": null
        },
        "arrived_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Arrived At",
          "default": null
        },
        "status_line": {
          "type": "string",
          "title": "Status Line",
          "default": ""
        },
        "arrival_link": {
          "type": "string",
          "title": "Arrival Link",
          "default": ""
        },
        "arrival_message": {
          "type": "string",
          "title": "Arrival Message",
          "default": ""
        },
        "pest_or_disease": {
          "type": "string",
          "title": "Pest Or Disease",
          "default": ""
        }
      }
    }
  },
  "title": "Requests",
  "required": [
    "summary",
    "requests",
    "link"
  ],
  "properties": {
    "link": {
      "type": "string",
      "title": "Link"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "requests": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Request"
      },
      "title": "Requests"
    }
  }
}
my_requests annotations
{
  "title": "My service requests",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
withdraw_interest — Drop a service request
Advertised by the server during the last successful anonymous check.
Advertised destructive

Take a service request off the person's list: they no longer need it and will not be told when it arrives.

withdraw_interest input schema
{
  "type": "object",
  "title": "withdraw_interestArguments",
  "required": [
    "request_id"
  ],
  "properties": {
    "request_id": {
      "type": "string",
      "title": "Request Id"
    }
  }
}
withdraw_interest output schema
{
  "type": "object",
  "title": "Withdrawn",
  "required": [
    "summary",
    "request_id"
  ],
  "properties": {
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "request_id": {
      "type": "string",
      "title": "Request Id"
    }
  }
}
withdraw_interest annotations
{
  "title": "Drop a service request",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
book_consultation — Book an expert
Advertised by the server during the last successful anonymous check.

Ask a verified expert for a call (`virtual`) or a farm visit (`in_person`, to one of the person's farms) at the time proposed, at the expert's own price. `topic` is what it is about, in the person's words. Nothing is paid now: once the expert agrees a time, the person pays in Divisi at the link in the reply. Confirm the expert, the time and the price with the person first. Pass the same `client_id` to retry.

book_consultation input schema
{
  "type": "object",
  "title": "book_consultationArguments",
  "required": [
    "expert_id",
    "topic",
    "starts_at"
  ],
  "properties": {
    "mode": {
      "enum": [
        "virtual",
        "in_person"
      ],
      "type": "string",
      "title": "Mode",
      "default": "virtual"
    },
    "topic": {
      "type": "string",
      "title": "Topic"
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    },
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "expert_id": {
      "type": "string",
      "title": "Expert Id"
    },
    "starts_at": {
      "type": "string",
      "title": "Starts At",
      "format": "date-time"
    }
  }
}
book_consultation output schema
{
  "type": "object",
  "$defs": {
    "ConsultationCard": {
      "type": "object",
      "title": "ConsultationCard",
      "required": [
        "consultation_id",
        "status",
        "link"
      ],
      "properties": {
        "link": {
          "type": "string",
          "title": "Link"
        },
        "mode": {
          "type": "string",
          "title": "Mode",
          "default": ""
        },
        "paid": {
          "type": "boolean",
          "title": "Paid",
          "default": false
        },
        "side": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Side",
          "default": null
        },
        "price": {
          "type": "string",
          "title": "Price",
          "default": ""
        },
        "topic": {
          "type": "string",
          "title": "Topic",
          "default": ""
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "minutes": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Minutes",
          "default": null
        },
        "pay_link": {
          "type": "string",
          "title": "Pay Link",
          "default": ""
        },
        "next_step": {
          "type": "string",
          "title": "Next Step",
          "default": ""
        },
        "starts_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Starts At",
          "default": null
        },
        "with_name": {
          "type": "string",
          "title": "With Name",
          "default": ""
        },
        "proposed_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Proposed At",
          "default": null
        },
        "proposed_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Proposed By",
          "default": null
        },
        "status_label": {
          "type": "string",
          "title": "Status Label",
          "default": ""
        },
        "consultation_id": {
          "type": "string",
          "title": "Consultation Id"
        }
      }
    }
  },
  "title": "Booked",
  "required": [
    "summary",
    "consultation"
  ],
  "properties": {
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "money_moved": {
      "type": "boolean",
      "title": "Money Moved",
      "default": false
    },
    "consultation": {
      "$ref": "#/$defs/ConsultationCard"
    }
  }
}
book_consultation annotations
{
  "title": "Book an expert",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
consultation_step — Answer a consultation
Advertised by the server during the last successful anonymous check.
Advertised destructive

Take the next step on a consultation, as the person: `propose` another time (with `starts_at`), `accept` or `decline` the time the other side proposed, report a `problem` or that the expert was `late` (the farmer, after the time), `contest` a lateness report or say the farmer did not come (`no_show`) (the expert), or `reschedule` once after missing it (the farmer, with `starts_at`). Paying, and saying it went well, are done in the app.

consultation_step input schema
{
  "type": "object",
  "title": "consultation_stepArguments",
  "required": [
    "consultation_id",
    "action"
  ],
  "properties": {
    "action": {
      "enum": [
        "propose",
        "accept",
        "decline",
        "problem",
        "late",
        "contest",
        "no_show",
        "reschedule"
      ],
      "type": "string",
      "title": "Action"
    },
    "starts_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Starts At",
      "default": null
    },
    "consultation_id": {
      "type": "string",
      "title": "Consultation Id"
    }
  }
}
consultation_step output schema
{
  "type": "object",
  "$defs": {
    "ConsultationCard": {
      "type": "object",
      "title": "ConsultationCard",
      "required": [
        "consultation_id",
        "status",
        "link"
      ],
      "properties": {
        "link": {
          "type": "string",
          "title": "Link"
        },
        "mode": {
          "type": "string",
          "title": "Mode",
          "default": ""
        },
        "paid": {
          "type": "boolean",
          "title": "Paid",
          "default": false
        },
        "side": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Side",
          "default": null
        },
        "price": {
          "type": "string",
          "title": "Price",
          "default": ""
        },
        "topic": {
          "type": "string",
          "title": "Topic",
          "default": ""
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "minutes": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Minutes",
          "default": null
        },
        "pay_link": {
          "type": "string",
          "title": "Pay Link",
          "default": ""
        },
        "next_step": {
          "type": "string",
          "title": "Next Step",
          "default": ""
        },
        "starts_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Starts At",
          "default": null
        },
        "with_name": {
          "type": "string",
          "title": "With Name",
          "default": ""
        },
        "proposed_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Proposed At",
          "default": null
        },
        "proposed_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Proposed By",
          "default": null
        },
        "status_label": {
          "type": "string",
          "title": "Status Label",
          "default": ""
        },
        "consultation_id": {
          "type": "string",
          "title": "Consultation Id"
        }
      }
    }
  },
  "title": "Booked",
  "required": [
    "summary",
    "consultation"
  ],
  "properties": {
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "money_moved": {
      "type": "boolean",
      "title": "Money Moved",
      "default": false
    },
    "consultation": {
      "$ref": "#/$defs/ConsultationCard"
    }
  }
}
consultation_step annotations
{
  "title": "Answer a consultation",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
cancel_consultation — Cancel a consultation
Advertised by the server during the last successful anonymous check.
Advertised destructive

Call off a consultation before it starts, either side. A paid booking is refunded to the farmer in full.

cancel_consultation input schema
{
  "type": "object",
  "title": "cancel_consultationArguments",
  "required": [
    "consultation_id"
  ],
  "properties": {
    "consultation_id": {
      "type": "string",
      "title": "Consultation Id"
    }
  }
}
cancel_consultation output schema
{
  "type": "object",
  "$defs": {
    "ConsultationCard": {
      "type": "object",
      "title": "ConsultationCard",
      "required": [
        "consultation_id",
        "status",
        "link"
      ],
      "properties": {
        "link": {
          "type": "string",
          "title": "Link"
        },
        "mode": {
          "type": "string",
          "title": "Mode",
          "default": ""
        },
        "paid": {
          "type": "boolean",
          "title": "Paid",
          "default": false
        },
        "side": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Side",
          "default": null
        },
        "price": {
          "type": "string",
          "title": "Price",
          "default": ""
        },
        "topic": {
          "type": "string",
          "title": "Topic",
          "default": ""
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "minutes": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Minutes",
          "default": null
        },
        "pay_link": {
          "type": "string",
          "title": "Pay Link",
          "default": ""
        },
        "next_step": {
          "type": "string",
          "title": "Next Step",
          "default": ""
        },
        "starts_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Starts At",
          "default": null
        },
        "with_name": {
          "type": "string",
          "title": "With Name",
          "default": ""
        },
        "proposed_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Proposed At",
          "default": null
        },
        "proposed_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Proposed By",
          "default": null
        },
        "status_label": {
          "type": "string",
          "title": "Status Label",
          "default": ""
        },
        "consultation_id": {
          "type": "string",
          "title": "Consultation Id"
        }
      }
    }
  },
  "title": "Booked",
  "required": [
    "summary",
    "consultation"
  ],
  "properties": {
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "money_moved": {
      "type": "boolean",
      "title": "Money Moved",
      "default": false
    },
    "consultation": {
      "$ref": "#/$defs/ConsultationCard"
    }
  }
}
cancel_consultation annotations
{
  "title": "Cancel a consultation",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
my_consultations — My consultations
Advertised by the server during the last successful anonymous check.
Advertised read-only

The person's consultations, booked or booked with them, newest first, each with its next step. `open_only` false includes finished ones.

my_consultations input schema
{
  "type": "object",
  "title": "my_consultationsArguments",
  "properties": {
    "open_only": {
      "type": "boolean",
      "title": "Open Only",
      "default": true
    }
  }
}
my_consultations output schema
{
  "type": "object",
  "$defs": {
    "ConsultationCard": {
      "type": "object",
      "title": "ConsultationCard",
      "required": [
        "consultation_id",
        "status",
        "link"
      ],
      "properties": {
        "link": {
          "type": "string",
          "title": "Link"
        },
        "mode": {
          "type": "string",
          "title": "Mode",
          "default": ""
        },
        "paid": {
          "type": "boolean",
          "title": "Paid",
          "default": false
        },
        "side": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Side",
          "default": null
        },
        "price": {
          "type": "string",
          "title": "Price",
          "default": ""
        },
        "topic": {
          "type": "string",
          "title": "Topic",
          "default": ""
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "minutes": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Minutes",
          "default": null
        },
        "pay_link": {
          "type": "string",
          "title": "Pay Link",
          "default": ""
        },
        "next_step": {
          "type": "string",
          "title": "Next Step",
          "default": ""
        },
        "starts_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Starts At",
          "default": null
        },
        "with_name": {
          "type": "string",
          "title": "With Name",
          "default": ""
        },
        "proposed_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Proposed At",
          "default": null
        },
        "proposed_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Proposed By",
          "default": null
        },
        "status_label": {
          "type": "string",
          "title": "Status Label",
          "default": ""
        },
        "consultation_id": {
          "type": "string",
          "title": "Consultation Id"
        }
      }
    }
  },
  "title": "Consultations",
  "required": [
    "summary",
    "consultations"
  ],
  "properties": {
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "consultations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConsultationCard"
      },
      "title": "Consultations"
    }
  }
}
my_consultations annotations
{
  "title": "My consultations",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
find_programmes — Find a farmer programme
Advertised by the server during the last successful anonymous check.
Advertised read-only

Outgrower schemes and other farmer programmes taking farmers this season where the person farms (their farm by default, or a town, district or lat/lng): who runs each, what it offers, the season, what joining asks them to share, and what it costs them. `crop` keeps those for that crop.

find_programmes input schema
{
  "type": "object",
  "title": "find_programmesArguments",
  "properties": {
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat",
      "default": null
    },
    "lng": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lng",
      "default": null
    },
    "crop": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Crop",
      "default": null
    },
    "place": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Place",
      "default": null
    },
    "farm_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Farm Id",
      "default": null
    }
  }
}
find_programmes output schema
{
  "type": "object",
  "$defs": {
    "ProgrammeCard": {
      "type": "object",
      "title": "ProgrammeCard",
      "required": [
        "programme_id",
        "name",
        "run_by",
        "run_by_kind",
        "you_share",
        "cost",
        "code"
      ],
      "properties": {
        "area": {
          "type": "string",
          "title": "Area",
          "default": ""
        },
        "code": {
          "type": "string",
          "title": "Code"
        },
        "cost": {
          "type": "string",
          "title": "Cost"
        },
        "crop": {
          "type": "string",
          "title": "Crop",
          "default": ""
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "offers": {
          "type": "string",
          "title": "Offers",
          "default": ""
        },
        "run_by": {
          "type": "string",
          "title": "Run By"
        },
        "season": {
          "type": "string",
          "title": "Season",
          "default": ""
        },
        "you_share": {
          "type": "string",
          "title": "You Share"
        },
        "run_by_kind": {
          "type": "string",
          "title": "Run By Kind"
        },
        "season_ends": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Season Ends",
          "default": null
        },
        "programme_id": {
          "type": "string",
          "title": "Programme Id"
        },
        "season_starts": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Season Starts",
          "default": null
        }
      }
    }
  },
  "title": "Programmes",
  "required": [
    "summary",
    "place",
    "programmes"
  ],
  "properties": {
    "place": {
      "type": "string",
      "title": "Place"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "programmes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ProgrammeCard"
      },
      "title": "Programmes"
    }
  }
}
find_programmes annotations
{
  "title": "Find a farmer programme",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
apply_to_programme — Ask to join a programme
Advertised by the server during the last successful anonymous check.

Ask to join a programme as the person. This puts the organisation's request on their list; nothing is shared until they read it and say yes in Divisi, at the link in the reply. It never says yes for them. Pass the same `client_id` to retry.

apply_to_programme input schema
{
  "type": "object",
  "title": "apply_to_programmeArguments",
  "required": [
    "programme_id"
  ],
  "properties": {
    "client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Client Id",
      "default": null
    },
    "programme_id": {
      "type": "string",
      "title": "Programme Id"
    }
  }
}
apply_to_programme output schema
{
  "type": "object",
  "title": "Joining",
  "required": [
    "summary",
    "programme_id",
    "status",
    "decide_link"
  ],
  "properties": {
    "status": {
      "type": "string",
      "title": "Status"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "shared_now": {
      "type": "boolean",
      "title": "Shared Now",
      "default": false
    },
    "decide_link": {
      "type": "string",
      "title": "Decide Link"
    },
    "programme_id": {
      "type": "string",
      "title": "Programme Id"
    }
  }
}
apply_to_programme annotations
{
  "title": "Ask to join a programme",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

7 advertised

get_started — Get started with Divisi

Advertised by the server during the last successful anonymous check.

Set up your farm on Divisi in a few minutes, from the chat.

place
Optional: where you farm, e.g. Murewa.
farming
Optional: what you grow or raise, e.g. 200 broilers.
check_my_farm — Check my farm

Advertised by the server during the last successful anonymous check.

See how your farm is doing and what needs you.

No arguments advertised.

plan_this_season — Plan this season

Advertised by the server during the last successful anonymous check.

Find what to plant at a place and when.

place
A town or district, e.g. Mutare. (required)
crop
Optional: one crop you have in mind.
grow_a_crop — Grow a crop

Advertised by the server during the last successful anonymous check.

Learn how to grow a crop, and when to plant it where you farm.

crop
The crop, e.g. tomatoes. (required)
place
Optional: a town or district, e.g. Mutare.
whats_wrong_with_my_crop — What is wrong with my crop

Advertised by the server during the last successful anonymous check.

Find the likeliest pests or diseases for what you see on a crop.

crop
The crop, e.g. maize. (required)
symptoms
What you see, e.g. yellow streaks on leaves. (required)
sell_my_produce — Sell my produce

Advertised by the server during the last successful anonymous check.

Find where to sell a crop near you, and what it usually fetches.

crop
What you grow, e.g. tomatoes. (required)
place
A town or district, e.g. Mutare. (required)
find_support — Find support for my farm

Advertised by the server during the last successful anonymous check.

Find seed, loans, cover, experts and programmes for your farm.

crop
Optional: the crop or animals, e.g. broilers.

Resources

3 advertised

crops — Crops for this place

Advertised by the server during the last successful anonymous check.

The picture find crops shows in the conversation.

crops URI
ui://divisi/crops

MIME type: text/html;profile=mcp-app

planting — When to plant

Advertised by the server during the last successful anonymous check.

The picture when to plant shows in the conversation.

planting URI
ui://divisi/planting

MIME type: text/html;profile=mcp-app

farm — Farm report

Advertised by the server during the last successful anonymous check.

The picture farm report shows in the conversation.

farm URI
ui://divisi/farm

MIME type: text/html;profile=mcp-app

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (24 of 24 checks answered)

  1. 2026-11-22: 1 of 1 checks answered
  2. 2026-11-23: 4 of 4 checks answered
  3. 2026-11-24: 4 of 4 checks answered
  4. 2026-11-25: 4 of 4 checks answered
  5. 2026-11-26: 4 of 4 checks answered
  6. 2026-11-27: 4 of 4 checks answered
  7. 2026-11-28: 3 of 3 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
854 ms
95th percentile latency
907 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 913 ms · metadata changed · 47 tool(s), 3 resource(s), 0 resource template(s), 7 prompt(s); warnings: Does not report a server version
  • · probe · passed · 794 ms · metadata changed · 47 tool(s), 3 resource(s), 0 resource template(s), 7 prompt(s); warnings: Does not report a server version

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http divisi-mcp https://divisi.africa/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add divisi-mcp --url https://divisi.africa/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable divisi-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "divisi-mcp": {
      "url": "https://divisi.africa/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "divisi-mcp": {
      "type": "streamableHttp",
      "url": "https://divisi.africa/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start divisi-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "divisi-mcp": {
      "type": "http",
      "url": "https://divisi.africa/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http divisi-mcp https://divisi.africa/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://divisi.africa/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "divisi-mcp": {
      "serverUrl": "https://divisi.africa/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Divisi MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Divisi MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing