winops_json_extract_from_text
Extract all valid JSON objects and arrays from unstructured text, returning a success flag and the found items.
Instructions
Extract all valid JSON objects/arrays found in unstructured text.
Return Format
{"success": true, "found": int, "items": [any]}Examples
extract_from_text(text="log output: {\"status\": 200} and more text")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": {
"text": "<text>"
},
"name": "winops_json_extract_from_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Unstructured text that may contain JSON blobs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||