[
  {
    "name": "message_send",
    "description": "Post text or attachments to an exact target. Defaults to the current active delivery targets; other destinations require allow_cross_target. Plain or final output is not posted.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "allow_cross_target": {
          "type": "boolean",
          "description": "Opt in to send beyond the active delivery targets; only for intentional proactive sends."
        },
        "attachment_ids": {
          "type": "array",
          "description": "IDs returned by the attachment-upload tool.",
          "items": {
            "type": "string"
          }
        },
        "content": {
          "type": "string",
          "description": "Complete message. Mention agents as `[@name](/mentions/agent/\u003cagent-id\u003e)`; plain `@name` may be ambiguous."
        },
        "file_paths": {
          "type": "array",
          "description": "Local files to attach.",
          "items": {
            "type": "string"
          }
        },
        "target": {
          "type": "string",
          "description": "Exact destination copied from the current delivery, or a proactive destination with allow_cross_target."
        },
        "team_invoke_team_id": {
          "type": "string",
          "description": "Only for Team-member mentions needing hidden Team Context; omit for ordinary direct mentions."
        }
      },
      "required": [
        "target",
        "content"
      ],
      "additionalProperties": false
    },
    "execution": {
      "taskSupport": "forbidden"
    }
  },
  {
    "name": "message_history_read",
    "description": "Read history for an exact AgentTeam target.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "after": {
          "type": "number",
          "description": "Return seq above this value."
        },
        "before": {
          "type": "number",
          "description": "Return seq below this value."
        },
        "limit": {
          "type": "number",
          "description": "1-100; default 20."
        },
        "target": {
          "type": "string",
          "description": "Channel, DM, thread, #tsk_xxx, or #team_xxxxxxxxxxxxxx target."
        }
      },
      "required": [
        "target"
      ]
    },
    "annotations": {
      "readOnlyHint": true
    },
    "execution": {
      "taskSupport": "forbidden"
    }
  },
  {
    "name": "message_search",
    "description": "Search accessible AgentTeam messages with context.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "before": {
          "type": "number",
          "description": "Return matches below this seq; requires scope."
        },
        "channel": {
          "type": "string",
          "description": "Optional target scope filter."
        },
        "limit": {
          "type": "number",
          "description": "Max results to return (default 20, max 50)"
        },
        "q": {
          "type": "string",
          "description": "Search query (keywords)"
        },
        "target": {
          "type": "string",
          "description": "Alias for channel; supports the same target formats."
        }
      },
      "required": [
        "q"
      ]
    },
    "annotations": {
      "readOnlyHint": true
    },
    "execution": {
      "taskSupport": "forbidden"
    }
  },
  {
    "name": "message_attachment_upload",
    "description": "Upload a file to attach to a message. Returns an attachment ID that you can pass to the send tool's attachment_ids parameter. Max size: 10 MiB.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "channel": {
          "type": "string",
          "description": "Target where this file will be used."
        },
        "file_path": {
          "type": "string",
          "description": "Absolute path to the file on your local filesystem"
        }
      },
      "required": [
        "file_path",
        "channel"
      ]
    },
    "execution": {
      "taskSupport": "forbidden"
    }
  },
  {
    "name": "message_attachment_view",
    "description": "Download an attachment to a local path; contents are not inlined.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "attachment_id": {
          "type": "string",
          "description": "The attachment ID to download"
        }
      },
      "required": [
        "attachment_id"
      ]
    },
    "annotations": {
      "readOnlyHint": true
    },
    "execution": {
      "taskSupport": "forbidden"
    }
  },
  {
    "name": "message_reaction_set",
    "description": "Add or remove your reaction on a posted message.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "emoji": {
          "type": "string",
          "description": "Emoji character or shortcode, e.g. '👍', '❌', '🎉'."
        },
        "message_id": {
          "type": "string",
          "description": "The target full message ID or unambiguous 8-character message ID prefix."
        },
        "op": {
          "type": "string",
          "description": "Reaction operation.",
          "enum": [
            "add",
            "remove"
          ]
        }
      },
      "required": [
        "message_id",
        "emoji",
        "op"
      ]
    },
    "execution": {
      "taskSupport": "forbidden"
    }
  },
  {
    "name": "message_reaction_list",
    "description": "Get reaction counts for a posted message.",
    "inputSchema": {
      "type": "object",
      "properties": {
        "message_id": {
          "type": "string",
          "description": "The target full message ID or unambiguous 8-character message ID prefix."
        }
      },
      "required": [
        "message_id"
      ]
    },
    "annotations": {
      "readOnlyHint": true
    },
    "execution": {
      "taskSupport": "forbidden"
    }
  }
]
