Add a routing rule
add_project_ruleRoute future Google Meet calls with this person or company to the project: a call matches through its Calendar event's attendees, while Calendar routing is on; rules do not route other calls. Public email domains (gmail.com...) cannot be domain rules, the user's own addresses cannot be rules, and an email or domain belongs to one project at most. Only the workspace's owner changes its rules: a team's rule files every member's matching calls into the team. Adding a rule the project already has changes nothing (created=false).
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": {
"project_id": "<project_id>",
"kind": "<kind>",
"value": "<value>"
},
"name": "add_project_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | email: one person. domain: everyone at a company | |
| value | Yes | juan@acme.com (email) or acme.com (domain) | |
| project_id | Yes | The project's id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | Yes | ||
| value | Yes | ||
| created | Yes | ||
| project | Yes |