leer_archivo
Read the first or last N lines of a text file on a remote server to inspect logs or configuration without downloading the entire file.
Instructions
Lee un archivo de texto del servidor (las primeras o últimas N líneas).
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": {
"servidor": "<servidor>",
"ruta": "<ruta>"
},
"name": "leer_archivo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruta | Yes | ||
| lineas | No | ||
| servidor | Yes | ||
| desde_el_final | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |