update_activity

Update the authenticated user's activity status.

Parameters

Name Type Required Description
activity string Yes The activity status text to set for the authenticated user.

Example

curl -X POST https://ghit.example/api/v1/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "update_activity",
      "arguments": {
        "activity": "Reviewing pull #7 on acme/webapp"
      }
    }
  }'

Response

Returns confirmation that the user's activity status has been updated. The response is returned as a text content block inside the standard MCP tool result.