capture_text
Ingest already-collected text into an ephemeral buffer and receive a compact JSON summary with capture metadata. Use it for indexing existing output for hybrid retrieval.
Instructions
Ingest already-collected text and return capture metadata.
Use this when the caller already has output to index. For a noisy or
potentially long command, use execute_and_capture so output remains
bounded before it reaches the agent context. The return value is a compact
versioned JSON summary; optional named metrics are retained in
structured_metrics.
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": {
"content": "<content>"
},
"name": "capture_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| content | Yes | ||
| content_type | No | auto | |
| structured_metrics | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |