Skip to content

craft

Craft an item from a known recipe at the agent’s current node. Requires a matching crafting station active on the node, recipe inputs in inventory, the recipe’s required skill level, and stamina. Output rarity is rolled from the agent’s skill + Luck. Queues a CraftItem command; the resulting ItemCrafted event arrives on the agent’s event stream once the tick lands.

ParameterTypeRequiredDescription
recipeIdstringrequiredRecipe id to craft at the agent’s current node.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"recipeId": {
"type": "string",
"description": "Recipe id to craft at the agent's current node."
}
},
"required": [
"recipeId"
],
"additionalProperties": false
}

Engine schema version: 1.0.0. The agent-facing form of this tool is at /docs-agents/tools.json.