/plant-trees¶
Footprint figures are illustrative estimates, not measurements of electricity consumption or actual emissions from AI infrastructure, and are not verified carbon-accounting data. Bloomy Earth always talks about climate contribution and responsibility — never about offsetting or neutralizing AI emissions.
The flagship planting flow, shipped as prompt text with the plugin and in the host command directories. It walks a host through the planting tool's two-call confirmation. It is prompt text only: it can neither enforce nor weaken the server's confirmation floor — the floor lives in the MCP server, and the command merely follows it.
What it does¶
/plant-trees is a user-invokable command, not a server feature. It tells the assistant to:
- read the account's Tree Credit balance first, so the user knows what they can spend;
- present the intended planting — quantity, project, gift details — and ask for explicit confirmation;
- call
plant_treesa second time with identical arguments plus the one-timeconfirmationCode; - return the certificate link on success.
The planting itself is executed by the plant_trees tool under the server floor. The command never talks to the Bloomy Earth API directly and carries no credentials.
When an agent reaches for it¶
- "Plant five trees."
- "Plant a tree for me."
- "I want to give trees as a gift."
- "Plant on project 2056."
- A bare count or a free-form planting request; with no count supplied, the command's default is one tree.
Inputs¶
| Name | Type | Required | Meaning |
|---|---|---|---|
| free-form argument | text | No | A tree count, or a planting request in the user's own words. Defaults to one tree. |
trees |
integer, at least 1 | Forwarded | Tree count the command passes to plant_trees. |
projectId |
string | Forwarded, optional | A specific reforestation project; omit it to let Bloomy Earth auto-select one. |
giftRecipientName |
string | Forwarded, optional | Recipient name for a gift planting. |
giftRecipientEmail |
string, email shape | Forwarded, optional | Recipient email for a gift planting. |
giftMessage |
string, up to 500 characters | Forwarded, optional | Personal message for a gift planting. |
confirmationCode |
string | Forwarded | The one-time code from the first call; present only on the confirmed second call. |
Gift details are surfaced in the confirmation summary, so the user sees exactly who the certificate names before anything is spent.
Output¶
On success the command returns the plant_trees result: the certificate link, the planted quantity, the credits used and the new balance. When the flow stops short — the user declines, the code expires, or the command is never confirmed — the output is the not-executed summary: nothing was planted, and no credit was spent.
Scope and confirmation¶
The command's discipline is four steps, in this order:
- Balance first.
get_credit_balanceruns before any planting call, so the user sees what they can spend. - First call plants nothing.
plant_treesis called with the intended arguments and noconfirmationCode. Nothing is planted; the result carries a one-time code and a summary of exactly what the second call would do. The code works once, expires after about five minutes, and redeems only for the same account, client and argument set. - Explicit confirmation. The command summarizes exactly what will happen — quantity, project, gift details — and obtains the user's explicit confirmation. It never answers the confirmation on the user's behalf.
- Second call with the code. Only after the user confirms is
plant_treescalled again with exactly the same arguments plus that code. A refusal or an expiry means not executed, and the command never retries without the user asking.
Step 3 is a discipline the command asks of the assistant, not a check it can perform. If the wrapper were dropped entirely, the server would still refuse to spend without a redeemed code — which is why no host command is ever the spending guarantee.
Worked example¶
A condensed transcript, with placeholder values:
User: /plant-trees 5
Assistant: Your balance covers this. First call made: nothing planted yet. You are about to plant 5 trees on the auto-selected project, with a certificate email to [email protected]. Confirm?
User: Yes.
Assistant: Second call made with the confirmation code. Planted 5 trees; the certificate is available at the link returned by the tool.
The certificate link, the credit figures and the balance in a real session belong to the reader's account; this transcript prints no certificate id and no CO2e figure.
Related¶
plant_trees— the tool that performs the planting and enforces the floor./footprint— the estimate command that funnels into this one.- Capabilities overview — the whole shipped surface with kind and scope.
- Installation — which hosts surface the command and how to load it.