read_po
Retrieve every entry from a specified Gettext PO file, returning all translation metadata and content for localization inspection and processing.
Instructions
Return every entry from the requested PO file.
Responses:
200 (Success): Successful Response
Content-Type:
application/jsonResponse Properties:
entries: List of entries parsed from the PO file.
Example:
{
"entries": [
"unknown_type"
]
}422: Validation Error
Content-Type:
application/jsonResponse Properties:
Example:
{
"detail": [
"unknown_type"
]
}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": {
"file_path": "<file_path>"
},
"name": "read_po"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the .po file to read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | List of entries parsed from the PO file. |