Build a workflow or agent
buildBuild a new workflow or agent from what the person wants, in their words, and save it as a draft in the workspace (nothing is deployed, scheduled or run). Fetch Hive decides whether it is a workflow, an agent or both, checks it, and may first ask a question, offer a library template that already does it, or ask for an app to be connected. It takes up to two minutes: when the answer is not ready the result has a build_id and status building; call get_build with it. To answer a question, after connecting an app, or to change the draft, call build again with that build_id. Search existing workflows and templates first; build when nothing fits.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resume | No | true after the person connected the apps the earlier build asked for. | |
| answers | No | Answers to the earlier build's questions, from the person. | |
| request | No | What to build, in the person's words, with any details they gave (apps, schedule, where results go). With build_id: the change to make to that draft. | |
| build_id | No | An earlier build: to answer its questions, resume after connecting an app, or change its draft. | |
| skip_templates | No | true to build from scratch instead of the template the earlier build offered. |