Agent mode text/HTML/XML to JSON
claix.agent.textRun text/HTML/XML extraction plus Agent mode reasoning. Requires is_agent_mode. Send content (no file). Returns data[] and agent_data. POST /agent/txt-json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key secreta de Claix. Ejemplo: claix_sk_abc123.... Opcional si la conexión MCP envía x-api-key en cabecera HTTP (recomendado en Smithery/Cursor). | |
| content | Yes | Plain text, HTML, or XML already processed. Do not send a file. Example: <html><body>Invoice F-1</body></html> | |
| schema_id | Yes | UUID del schema creado en el dashboard de Claix. Ejemplo: 550e8400-e29b-41d4-a716-446655440000. Llama a claix.schemas.list primero si no lo conoces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | JSON payload from the Claix API (extracted records, schema list, or Excel export metadata). | |
| error | No | Human-readable error message when success is false. | |
| success | Yes | True when Claix returned a successful response. False when isError is set on the tool result. |