Goodearth Block Save
goodearth_block_saveSave a plot of land, so every other tool can work it by name.
Its area and sample count are measured here from the bounds you give, and returned — they are facts about the geometry, so there is nothing for you to keep in step.
Blocks may overlap or nest. A grower who saves the whole farm and then the meadow inside it has asked two questions about two pieces of ground, and both are right; the overlap is not a drawing error to correct.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | What you call this ground, e.g. 'North Field'. Unique among your blocks. | |
| npub | No | Required. Your Nostr public key (npub1...) for credit billing. | |
| block | No | Omit to create. Pass an existing block's id to update it. | |
| aliases | No | Other names you call it. Only needed for a name that shares no words with the saved one — any unambiguous part of the name already works. Omit to keep the aliases it has; pass [] to clear them. | |
| retired | No | True to retire it. Nothing is deleted — its record stays readable. | |
| geometry | Yes | Its bounds: a GeoJSON Polygon, or {lat, lon, radius_m}. It may overlap or sit inside another block — a meadow within the farm around it is two blocks, each answered for its own ground. | |
| base_temp | No | The base temperature this ground's growing degree days count from. | |
| dpop_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||