Start a use case run
helix_foundry_start_use_case_runStart a run of a Foundry use case when the agent takes on a request. Pass the run's id as use_case_run_id to helix_foundry_read_graph, helix_foundry_ask, helix_foundry_send_pieces and helix_foundry_complete_document_upload while working on it: each records what it read or wrote under the run. Finish it with helix_foundry_finish_use_case_run and the agent's answer. A use case of origin workflow takes none: Foundry runs those.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ontology_id": "<ontology_id>",
"use_case_id": "<use_case_id>"
},
"name": "helix_foundry_start_use_case_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | The run's initial request, as the agent was given it, at most 64 KiB. Optional here: send it with helix_foundry_finish_use_case_run instead. | |
| ontology_id | Yes | Foundry ontology identifier. | |
| use_case_id | Yes | The use case, as helix_foundry_create_use_case or helix_foundry_list_use_cases returned it. | |
| client_token | No | At most 64 characters; the same token returns the run it started instead of starting another. | |
| workspace_id | No | Helix workspace identifier. May be empty when the caller has only one workspace (a service key always does). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| next | No | ||
| input | No | ||
| counts | Yes | ||
| output | No | ||
| status | Yes | ||
| assessment | No | Its assessment, once it finished: how much what it read made its answer. A run that made no call to the ontology has none: it isn't assessed. | |
| started_at | Yes | ||
| finished_at | No | ||
| use_case_id | Yes | ||
| content_trust | Yes | ||
| from_workflow_run_id | No | For a run Foundry started: the workflow run it records (helix_foundry_get_workflow_run's run_id; its use case's workflow names the workflow). Not a use_case_run_id: this run's own id is id. |