get_field_text
Retrieve the text content of a named field from an HWP document by providing its document ID and field name.
Instructions
Get the text content of a named field.
Args: doc_id: Document ID from open_document name: Field name
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": {
"doc_id": "<doc_id>",
"name": "<name>"
},
"name": "get_field_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| doc_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||