teams_raw_request
Send custom requests to any Microsoft Teams or Graph endpoint using GET, POST, PUT, PATCH, or DELETE to read, change, or delete data across graph, chat, middletier, and CSA targets.
Instructions
Escape hatch: call any Teams/Graph endpoint with any method (it can change or delete data); prefer teams_raw_get for reads. Target "graph" = Microsoft Graph (path like /me/joinedTeams, beta via beta:true); "chat" = Teams chat service (path like /v1/users/ME/conversations); "middletier" = Teams middle tier (path like /beta/users/...); "csa" = chat service aggregator (path like /v1/teams/users/me; Teams free uses its consumer CSA). Both account kinds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"path": "<path>"
},
"name": "teams_raw_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| beta | No | ||
| body | No | ||
| path | Yes | ||
| method | No | GET | |
| target | Yes | ||
| account | No | Account alias (see teams_accounts). Defaults to the default account. |