bot_report_activity
Reports a bot's lease and heartbeat on a scope path, recording activity in Cloud Soul host_leases while rejecting stale fencing-token writes to protect lease ownership.
Instructions
Reports a bot's lease/heartbeat on a scope path into the Cloud Soul
host_leases table. host_id is bound to the real MCP session
provenance (X-Agent-Id@X-Host) — caller-supplied values are never used.
A fenced-out write (stale fencing token) returns the rejection payload
unchanged and does NOT refresh the local fast-cache.
Args: bot_id: Registered bot slug. scope_path: Lease scope (workspace path or identifier). summary: Short activity note (secret-masked before storage). fencing_token: Monotonic fencing token; higher wins on a live lease.
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": {
"bot_id": "<bot_id>",
"scope_path": "<scope_path>",
"summary": "<summary>"
},
"name": "bot_report_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes | ||
| summary | Yes | ||
| scope_path | Yes | ||
| fencing_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||