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.
https://divisi.africa/mcpWhat its tools do
47 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (19)
Can change data (28)
set_up_farmupdate_farmadd_zoneadd_unitlog_workadd_taskupdate_taskplan_seasonmove_tasksask_agronomistsend_messagecreate_listingsell_harvestmanage_listingrecord_salemake_offerrespond_to_offerupdate_dealreview_dealreply_to_reviewrsvpcancel_rsvpexpress_interestwithdraw_interestbook_consultationconsultation_stepcancel_consultationapply_to_programme
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
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
{
"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.
Tools
47 advertised
find_crops — Find crops for a place
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).
{
"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
}
}
}{
"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"
}
}
}{
"title": "Find crops for a place",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}when_to_plant — When to plant a crop
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.
{
"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
}
}
}{
"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": []
}
}
}{
"title": "When to plant a crop",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}identify_problem — Identify a crop problem
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.
{
"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"
}
}
}{
"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"
}
}
}{
"title": "Identify a crop problem",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}read_guide — Read a crop or pest guide
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.
{
"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"
}
}
}{
"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": ""
}
}
}{
"title": "Read a crop or pest guide",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}market_prices — Check market prices
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.
{
"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"
}
}
}{
"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"
}
}
}{
"title": "Check market prices",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}find_market — Find a market
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.
{
"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
}
}
}{
"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"
}
}
}{
"title": "Find a market",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}find_events — Find farming events
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.
{
"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
}
}
}{
"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
}
}
}{
"title": "Find farming events",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}search_market — Search the market
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.
{
"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
}
}
}{
"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"
}
}
}{
"title": "Search the market",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}find_experts — Find an expert
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.
{
"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
}
}
}{
"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
}
}
}{
"title": "Find an expert",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}farm_report — Farm report
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).
{
"type": "object",
"title": "farm_reportArguments",
"properties": {
"farm_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Farm Id",
"default": null
}
}
}{
"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"
}
}
}{
"title": "Farm report",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}set_up_farm — Set up a farm
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.
{
"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": ""
}
}
}{
"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": ""
}
}
}{
"title": "Set up a farm",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}update_farm — Update a farm
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.
{
"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
}
}
}{
"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": ""
}
}
}{
"title": "Update a farm",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}add_zone — Add a field or pen
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.
{
"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
}
}
}{
"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": ""
}
}
}{
"title": "Add a field or pen",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}add_unit — Add a crop or batch
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.
{
"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
}
}
}{
"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
}
}
}{
"title": "Add a crop or batch",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}log_work — Log work or money
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.
{
"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
}
}
}{
"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": ""
}
}
}{
"title": "Log work or money",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}farm_money — Farm money
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.
{
"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
}
}
}{
"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"
}
}
}{
"title": "Farm money",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}add_task — Add a farm task
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.
{
"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": ""
}
}
}{
"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"
}
}
}{
"title": "Add a farm task",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}update_task — Update a task
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.
{
"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
}
}
}{
"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
}
}
}{
"title": "Update a task",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}plan_season — Plan a season
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.
{
"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
}
}
}{
"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"
}
}
}{
"title": "Plan a season",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}move_tasks — Move a unit's tasks
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.
{
"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
}
}
}{
"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
}
}
}{
"title": "Move a unit's tasks",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}ask_agronomist — Ask an expert
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.
{
"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": ""
}
}
}{
"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": []
}
}
}{
"title": "Ask an expert",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}inbox — Read the inbox
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.
{
"type": "object",
"title": "inboxArguments",
"properties": {
"page": {
"type": "integer",
"title": "Page",
"default": 1
},
"search": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Search",
"default": null
}
}
}{
"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"
}
}
}{
"title": "Read the inbox",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}read_thread — Read a conversation
The messages in one of the person's conversations, newest first, 30 a page. Only conversations they are in can be read.
{
"type": "object",
"title": "read_threadArguments",
"required": [
"conversation_id"
],
"properties": {
"page": {
"type": "integer",
"title": "Page",
"default": 1
},
"conversation_id": {
"type": "string",
"title": "Conversation Id"
}
}
}{
"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"
}
}
}{
"title": "Read a conversation",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}send_message — Send a message
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.
{
"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
}
}
}{
"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"
}
}
}{
"title": "Send a message",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}create_listing — List on the market
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.
{
"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": ""
}
}
}{
"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"
}
}
}{
"title": "List on the market",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}sell_harvest — Sell a crop or batch
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.
{
"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
}
}
}{
"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."
}{
"title": "Sell a crop or batch",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}manage_listing — Keep a listing up
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.
{
"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
}
}
}{
"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
}
}
}{
"title": "Keep a listing up",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}record_sale — Write down a sale
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.
{
"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"
}
}
}{
"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
}
}
}{
"title": "Write down a sale",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}make_offer — Make an offer
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.
{
"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"
}
}
}{
"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
}
}
}{
"title": "Make an offer",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}respond_to_offer — Answer an offer
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.
{
"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
}
}
}{
"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
}
}
}{
"title": "Answer an offer",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}my_deals — My deals
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.
{
"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
}
}
}{
"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"
}
}
}{
"title": "My deals",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}update_deal — Move a deal on
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.
{
"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
}
}
}{
"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"
}
}
}{
"title": "Move a deal on",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}pay_deal — Pay for a deal
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.
{
"type": "object",
"title": "pay_dealArguments",
"required": [
"deal_id"
],
"properties": {
"deal_id": {
"type": "string",
"title": "Deal Id"
}
}
}{
"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
}
}
}{
"title": "Pay for a deal",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}review_deal — Rate a deal
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.
{
"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
}
}
}{
"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"
}
}
}{
"title": "Rate a deal",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}reply_to_review — Answer a rating
Answer a rating someone gave the person, once, in their own words. It shows under the rating.
{
"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"
}
}
}{
"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"
}
}
}{
"title": "Answer a rating",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}my_money — My money
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.
{
"type": "object",
"title": "my_moneyArguments",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Currency",
"default": null
}
}
}{
"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"
}
}
}{
"title": "My money",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}rsvp — Go to an event
Take a place at an event as the person. A full event puts them on its waiting list. Retrying is safe: one place each.
{
"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
}
}
}{
"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"
}
}
}{
"title": "Go to an event",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}cancel_rsvp — Cancel an event place
Give up the person's place at an event, so the next person waiting gets it.
{
"type": "object",
"title": "cancel_rsvpArguments",
"required": [
"event_id"
],
"properties": {
"event_id": {
"type": "string",
"title": "Event Id"
}
}
}{
"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"
}
}
}{
"title": "Cancel an event place",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}express_interest — Ask for a service
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.
{
"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
}
}
}{
"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"
}
}
}{
"title": "Ask for a service",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}my_requests — My service requests
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.
{
"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
}
}
}{
"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"
}
}
}{
"title": "My service requests",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}withdraw_interest — Drop a service request
Take a service request off the person's list: they no longer need it and will not be told when it arrives.
{
"type": "object",
"title": "withdraw_interestArguments",
"required": [
"request_id"
],
"properties": {
"request_id": {
"type": "string",
"title": "Request Id"
}
}
}{
"type": "object",
"title": "Withdrawn",
"required": [
"summary",
"request_id"
],
"properties": {
"summary": {
"type": "string",
"title": "Summary"
},
"request_id": {
"type": "string",
"title": "Request Id"
}
}
}{
"title": "Drop a service request",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}book_consultation — Book an expert
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.
{
"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"
}
}
}{
"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"
}
}
}{
"title": "Book an expert",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}consultation_step — Answer a consultation
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.
{
"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"
}
}
}{
"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"
}
}
}{
"title": "Answer a consultation",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}cancel_consultation — Cancel a consultation
Call off a consultation before it starts, either side. A paid booking is refunded to the farmer in full.
{
"type": "object",
"title": "cancel_consultationArguments",
"required": [
"consultation_id"
],
"properties": {
"consultation_id": {
"type": "string",
"title": "Consultation Id"
}
}
}{
"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"
}
}
}{
"title": "Cancel a consultation",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}my_consultations — My consultations
The person's consultations, booked or booked with them, newest first, each with its next step. `open_only` false includes finished ones.
{
"type": "object",
"title": "my_consultationsArguments",
"properties": {
"open_only": {
"type": "boolean",
"title": "Open Only",
"default": true
}
}
}{
"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"
}
}
}{
"title": "My consultations",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}find_programmes — Find a farmer programme
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.
{
"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
}
}
}{
"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"
}
}
}{
"title": "Find a farmer programme",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}apply_to_programme — Ask to join a programme
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.
{
"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"
}
}
}{
"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"
}
}
}{
"title": "Ask to join a programme",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
7 advertised
get_started — Get started with Divisi
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
See how your farm is doing and what needs you.
plan_this_season — Plan this season
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
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
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
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
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
The picture find crops shows in the conversation.
ui://divisi/cropsplanting — When to plant
The picture when to plant shows in the conversation.
ui://divisi/plantingfarm — Farm report
The picture farm report shows in the conversation.
ui://divisi/farm90-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.
- 2026-11-22: 1 of 1 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 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.
Claude Code
claude mcp add --transport http divisi-mcp https://divisi.africa/mcpCodex
codex mcp add divisi-mcp --url https://divisi.africa/mcpCursor
{
"mcpServers": {
"divisi-mcp": {
"url": "https://divisi.africa/mcp"
}
}
}Cline
{
"mcpServers": {
"divisi-mcp": {
"type": "streamableHttp",
"url": "https://divisi.africa/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"divisi-mcp": {
"type": "http",
"url": "https://divisi.africa/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http divisi-mcp https://divisi.africa/mcpClaude Desktop
https://divisi.africa/mcpWindsurf
{
"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.
Other data and analytics servers
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.