ftp_tool
FTP password management on the selected site (call select_site first). Proxies to /uapi/ftp_password (GET/POST/PUT/DELETE). Requires CP access on the site API key (can_use_cp). Account MCP does not run file FTP (list/read/write/upload) — use files_tool for the site file manager. After ftp_password_set or ftp_password_change the response may include ftp_password in plain text — save it immediately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ftp_password_get — connection info without password (GET). ftp_password_set — set password when ftp_password_set=0 (POST). ftp_password_change — change existing password when ftp_password_set=1 (PUT). ftp_password_reset — clear password (DELETE; confirm required). | |
| confirm | No | Required for ftp_password_reset after explicit user approval. | |
| password | No | Synonym for ftp_password (uAPI body field name). | |
| ftp_password | No | New FTP password for ftp_password_set / ftp_password_change. [a-zA-Z0-9_-]{6,15}. Synonym: password. |