host_files
Manage text files in C:\ on a PC, laptop, or server: list, read, write, or delete them for Packet Tracer host file tasks.
Instructions
Work with the text files of a PC, laptop or server, the ones its Text Editor opens and dir lists: list, read, write (creates or replaces) or delete a file in C:.
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": {
"device": "<device>"
},
"name": "host_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | File name in C:\, for example `notes.txt`. Required except for `list`. | |
| text | No | Text to write. Required for `write`. | |
| action | No | `list` (default), `read`, `write` or `delete`. | list |
| device | Yes | PC, laptop or server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The file's text, for `read`. | |
| files | Yes | The files in C:\ after the action. | |
| action | Yes | ||
| device | Yes |