add_subscription
Add a subscription rule to notify a subscriber project about changes to a specific document or all documents of a given type.
Instructions
Add a subscription rule. Provide target_doc_id for exact doc or target_doc_type for all docs of that type.
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": {
"subscriber_project_id": "<subscriber_project_id>",
"project_space_id": "<project_space_id>"
},
"name": "add_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscriber_project_id | Yes | ||
| project_space_id | Yes | ||
| target_doc_id | No | ||
| target_doc_type | No |