Add a written answer
add_text_sampleUse when a DataHouse text task wants a written answer. For a text task: the person's written answer (20 to 20,000 characters), stored as a .txt sample.
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": {
"submission_id": "<submission_id>",
"text": "<text>"
},
"name": "add_text_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| filename | No | ||
| submission_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | The stored answer | |
| wanted | No | Samples the task needs | |
| received | No | Samples in | |
| ready_to_submit | No | All samples in |