content_tool
Content modules on the selected site (call select_site first). news/blog/publ/board/photo/video/faq/dir/load/gb/stuff/forum/mchat/polls. Not modules_tool, templates_tool page_*, users_tool, or shop_tool. Proxies to site uAPI with a server-minted Bearer key. File slots accept inline bytes (_base64 with _filename), a staged upload_direct id (_upload_id), a file already on the site (_site_path), or a local MCP server path (*_path); remote agents must use *_base64, *_upload_id, or *_site_path because they cannot write to the MCP server host.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Record, category, comment, or forum entity id. | |
| url | No | mchat author url field. | |
| www | No | Author website. | |
| date | No | List filter date yyyy-mm-dd or yyyy. | |
| mark | No | Guestbook rating: 1 good, 2 bad. | |
| name | No | Category, forum, section, or channel name. | |
| nfid | No | Target forum id (move/split). | |
| page | No | List page. | |
| sort | No | List sort asc|desc. | |
| tags | No | Comma-separated tags. | |
| tree | No | comments_all: yes tree / no flat. | |
| vote | No | Poll vote index(es), comma-separated. | |
| No | Email (guestbook / author). | ||
| items | No | Filter values separated by |. | |
| ontop | No | 1 = pin entry/topic. | |
| title | No | Entry or topic title; FAQ subject. | |
| action | Yes | Content action. Destructive actions need confirm: true after user approval. | |
| active | No | polls update: yes|no. | |
| answer | No | FAQ answer. | |
| author | No | Author nick. | |
| closed | No | 1 = create closed topic. | |
| fields | No | Extra body keys not listed as top-level params. | |
| module | No | Module code. Not required for comments_all. | |
| object | No | Video embed iframe HTML. | |
| other1 | No | Custom field 1 (see action=fields). | |
| other2 | No | Custom field 2. | |
| other3 | No | Custom field 3. | |
| other4 | No | Custom field 4. | |
| other5 | No | Custom field 5. | |
| ownurl | No | Custom URL slug or own URL. | |
| answer1 | No | polls add: first answer. | |
| answer2 | No | polls add: second answer. | |
| answers | No | Poll answers (| for forum, comma for site polls). | |
| confirm | No | Required for destructive actions after user approval. | |
| custom1 | No | mchat custom field 1. | |
| custom2 | No | mchat custom field 2. | |
| message | No | Full text (entry, comment, post). Use message_type=html when formatted. | |
| pending | No | 1 = moderation / pending-only list. | |
| poll_id | No | Poll id (forum or site polls). | |
| post_id | No | Forum post id. | |
| subject | No | FAQ subject line. | |
| user_id | No | Act-as user id. | |
| add_date | No | Publish date yyyy-mm-dd hh:mm. | |
| category | No | Category id (list filter / add). | |
| comments | No | 1 = allow comments, 0 = deny. | |
| forum_id | No | Forum id. | |
| password | No | Closed forum password. | |
| per_page | No | List page size (max 100). | |
| pollonly | No | 1 = poll-only mode. | |
| polltime | No | Poll duration, e.g. "1 week". | |
| position | No | Category position. | |
| post_ids | No | Comma-separated post ids. | |
| question | No | FAQ question text. | |
| topic_id | No | Topic id. | |
| author_id | No | Author user id. | |
| file_path | No | Local MCP server path for file/photo/archive upload. Missing files are an error; remote agents must use file_base64, file_upload_id, or file_site_path. | |
| hgu_title | No | SEO slug in module path. | |
| parent_id | No | Parent comment id. | |
| pollmulty | No | 1 = multi-select poll. | |
| subscribe | No | 1 = subscribe to comments. | |
| target_id | No | Join/move target id. | |
| uplastmod | No | Update lastmod flag (maps to uplastmod/update_date/update_lastmod). | |
| access2add | No | Category add group ids (comma-separated). | |
| channel_id | No | Video channel id. | |
| cover_path | No | Local MCP server path for cover upload. Missing files are an error; remote agents must use cover_base64, cover_upload_id, or cover_site_path. | |
| filter_num | No | Filter number 1-3. | |
| image_path | No | Local MCP server path for image (entry file1 or category file). Missing files are an error; remote agents must use image_base64, image_upload_id, or image_site_path. | |
| meta_title | No | Meta title for an entry or a module category. | |
| photo_path | No | Local MCP server path for photo upload (multipart). Missing files are an error; remote agents must use photo_base64, photo_upload_id, or photo_site_path. | |
| section_id | No | Forum section id. | |
| access2page | No | Category page access group ids. | |
| description | No | Short description / FAQ question. Use description_type=html when formatted. | |
| file_base64 | No | Base64 file body with file_filename (remote upload). Wins over file_upload_id, file_site_path, and file_path. | |
| archive_path | No | Local MCP server path for load archive. Missing files are an error; remote agents must use archive_base64, archive_upload_id, or archive_site_path. | |
| cover_base64 | No | Base64 cover body with cover_filename (remote upload). Wins over cover_upload_id, cover_site_path, and cover_path. | |
| image_base64 | No | Base64 image body with image_filename (remote upload). Wins over image_upload_id, image_site_path, and image_path. | |
| message_type | No | Message format. | |
| photo_base64 | No | Base64 photo body with photo_filename (remote upload). Wins over photo_upload_id, photo_site_path, and photo_path. | |
| file_filename | No | File name for file_base64, with extension. | |
| meta_keywords | No | Meta keywords for an entry or a module category. | |
| archive_base64 | No | Base64 archive body with archive_filename (remote upload). Wins over archive_upload_id, archive_site_path, and archive_path. | |
| cover_filename | No | File name for cover_base64, with extension. | |
| file_site_path | No | File already on the site (img/x.jpg or its full site URL). Wins over file_path. | |
| file_upload_id | No | upload_id from upload_direct. Wins over file_site_path and file_path. | |
| image_filename | No | File name for image_base64, with extension. | |
| photo_filename | No | File name for photo_base64, with extension. | |
| access2category | No | Category view group ids (comma-separated). | |
| cover_site_path | No | File already on the site (img/x.jpg or its full site URL). Wins over cover_path. | |
| cover_upload_id | No | upload_id from upload_direct. Wins over cover_site_path and cover_path. | |
| image_site_path | No | File already on the site (img/x.jpg or its full site URL). Wins over image_path. | |
| image_upload_id | No | upload_id from upload_direct for the first material image (multipart file1). Wins over image_site_path and image_path. | |
| photo_site_path | No | File already on the site (img/x.jpg or its full site URL). Wins over photo_path. | |
| photo_upload_id | No | upload_id from upload_direct. Wins over photo_site_path and photo_path. | |
| screenshot_path | No | Local MCP server path for load/video screenshot. Missing files are an error; remote agents must use screenshot_base64, screenshot_upload_id, or screenshot_site_path. | |
| archive_filename | No | File name for archive_base64, with extension. | |
| description_type | No | Description format. | |
| image_upload_ids | No | Comma-separated upload_id values from upload_direct. They fill material image slots file1, file2, and so on, after image_upload_id when that is also set. At most 50. | |
| meta_description | No | Meta description for an entry or a module category. | |
| archive_site_path | No | File already on the site (img/x.jpg or its full site URL). Wins over archive_path. | |
| archive_upload_id | No | upload_id from upload_direct. Wins over archive_site_path and archive_path. | |
| screenshot_base64 | No | Base64 screenshot body with screenshot_filename (remote upload). Wins over screenshot_upload_id, screenshot_site_path, and screenshot_path. | |
| screenshot_filename | No | File name for screenshot_base64, with extension. | |
| screenshot_site_path | No | File already on the site (img/x.jpg or its full site URL). Wins over screenshot_path. | |
| screenshot_upload_id | No | upload_id from upload_direct. Wins over screenshot_site_path and screenshot_path. |