Create a Foundry use case
helix_foundry_create_use_caseCreate a use case of a Foundry ontology: an agent's task (such as answering support tickets) whose runs record what the agent read and wrote between its request and its answer. Start a run with helix_foundry_start_use_case_run each time the agent works on a request.
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>",
"name": "<name>"
},
"name": "helix_foundry_create_use_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 1 to 100 characters naming what the agent does, such as Support triage. | |
| description | No | What the agent does, at most 2,000 characters. | |
| ontology_id | Yes | Foundry ontology identifier. | |
| client_token | No | At most 64 characters; the same token returns the use case it made instead of making 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 | ||
| name | Yes | ||
| runs | Yes | ||
| origin | Yes | person (an owner or admin made it), or workflow: Foundry made it to record the runs of a workflow (its workflow field) that use this ontology, and only Foundry starts and finishes its runs. | |
| workflow | No | The workflow whose runs it records, for a use case of origin workflow. | |
| created_at | Yes | ||
| description | Yes | ||
| last_run_at | No | ||
| ontology_id | Yes | ||
| content_trust | No | ||
| finished_runs | Yes |