← WebMCP Directory

Tool tree

yazelin.github.io

Media & PersonalTools verified
Website
yazelin.github.io exposes WebMCP tools to AI agents.
Explore capabilities
    get_scriptAnswer

    讀取目前完整腳本 JSON(圖片以 @imgN 佔位符表示)。

    View tool JSON
    {
      "name": "get_script",
      "kind": "answer",
      "impl": "imperative",
      "description": "讀取目前完整腳本 JSON(圖片以 @imgN 佔位符表示)。",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "page": "/line-chat-maker/"
    }
    apply_scriptAction

    修改腳本並立即更新畫面:settings 淺合併、people 整組取代、messages 整列取代;三個欄位都可省略,只給要改的。每則訊息一定要有 type 欄位(不是 content/person 那種自創欄位),否則會被丟掉。

    View tool JSON
    {
      "name": "apply_script",
      "kind": "act",
      "impl": "imperative",
      "description": "修改腳本並立即更新畫面:settings 淺合併、people 整組取代、messages 整列取代;三個欄位都可省略,只給要改的。每則訊息一定要有 type 欄位(不是 content/person 那種自創欄位),否則會被丟掉。",
      "inputSchema": {
        "type": "object",
        "properties": {
          "settings": {
            "type": "object",
            "description": "只放要改的欄位,例 { title: '群組名稱' }"
          },
          "people": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "name"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "description": "messages[].personId 會引用這個值"
                },
                "name": {
                  "type": "string"
                },
                "avatar": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "沒有就給 null。你產不出真的圖片:自己編的 base64 解碼後 IDAT 會斷,瀏覽器載不出來。外部網址也會被忽略。要頭像請叫使用者自己上傳,或用站內的「AI 補圖」生成"
                }
              }
            }
          },
          "messages": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "msg",
                    "date",
                    "skip"
                  ],
                  "description": "msg=一則訊息;date=日期分隔線;skip=「⋯⋯(略)⋯⋯」省略記號"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "text",
                    "image",
                    "sticker",
                    "voice",
                    "file"
                  ],
                  "description": "只有 type=msg 用,預設 text"
                },
                "side": {
                  "type": "string",
                  "enum": [
                    "left",
                    "right"
                  ],
                  "description": "right=自己,綠泡泡,不要給 personId;left=別人,要給 personId"
                },
                "text": {
                  "type": "string",
                  "description": "type=msg 且 kind=text 時是訊息內容;type=date 時是日期字串,例「7月17日 (四)」"
                },
                "personId": {
                  "type": "string",
                  "description": "只有 side=left 要給,值必須對得上 people[].id"
                },
                "time": {
                  "type": "string",
                  "description": "顯示時間,例「下午4:06」"
                },
                "read": {
                  "type": "string",
                  "description": "只有 side=right 有意義,例「已讀」或「已讀 8」"
                },
                "imgDesc": {
                  "type": "string",
                  "description": "kind=image/sticker 必填:那張圖畫的是什麼(照劇本的[圖片:描述]寫)。AI 補圖完全靠這個欄位,漏了就會畫出跟劇情無關的東西"
                },
                "dur": {
                  "type": "string",
                  "description": "kind=voice 用,語音長度,例「0:12」"
                },
                "fname": {
                  "type": "string",
                  "description": "kind=file 用,檔名,例「企劃書.pdf」"
                },
                "fsize": {
                  "type": "string",
                  "description": "kind=file 用,檔案大小,例「2.4MB」"
                }
              }
            }
          }
        },
        "additionalProperties": false
      },
      "page": "/line-chat-maker/"
    }
    append_messagesAction

    在對話尾端加入訊息,畫面立即更新。每則一定要有 type 欄位。

    View tool JSON
    {
      "name": "append_messages",
      "kind": "act",
      "impl": "imperative",
      "description": "在對話尾端加入訊息,畫面立即更新。每則一定要有 type 欄位。",
      "inputSchema": {
        "type": "object",
        "properties": {
          "messages": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "msg",
                    "date",
                    "skip"
                  ],
                  "description": "msg=一則訊息;date=日期分隔線;skip=「⋯⋯(略)⋯⋯」省略記號"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "text",
                    "image",
                    "sticker",
                    "voice",
                    "file"
                  ],
                  "description": "只有 type=msg 用,預設 text"
                },
                "side": {
                  "type": "string",
                  "enum": [
                    "left",
                    "right"
                  ],
                  "description": "right=自己,綠泡泡,不要給 personId;left=別人,要給 personId"
                },
                "text": {
                  "type": "string",
                  "description": "type=msg 且 kind=text 時是訊息內容;type=date 時是日期字串,例「7月17日 (四)」"
                },
                "personId": {
                  "type": "string",
                  "description": "只有 side=left 要給,值必須對得上 people[].id"
                },
                "time": {
                  "type": "string",
                  "description": "顯示時間,例「下午4:06」"
                },
                "read": {
                  "type": "string",
                  "description": "只有 side=right 有意義,例「已讀」或「已讀 8」"
                },
                "imgDesc": {
                  "type": "string",
                  "description": "kind=image/sticker 必填:那張圖畫的是什麼(照劇本的[圖片:描述]寫)。AI 補圖完全靠這個欄位,漏了就會畫出跟劇情無關的東西"
                },
                "dur": {
                  "type": "string",
                  "description": "kind=voice 用,語音長度,例「0:12」"
                },
                "fname": {
                  "type": "string",
                  "description": "kind=file 用,檔名,例「企劃書.pdf」"
                },
                "fsize": {
                  "type": "string",
                  "description": "kind=file 用,檔案大小,例「2.4MB」"
                }
              }
            }
          }
        },
        "required": [
          "messages"
        ],
        "additionalProperties": false
      },
      "page": "/line-chat-maker/"
    }
    export_pngAction

    把目前畫面匯出成 PNG(會觸發下載)。只在使用者明確要求匯出時使用。

    View tool JSON
    {
      "name": "export_png",
      "kind": "act",
      "impl": "imperative",
      "description": "把目前畫面匯出成 PNG(會觸發下載)。只在使用者明確要求匯出時使用。",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "page": "/line-chat-maker/"
    }