log
Write one line to komrad's log, under the caller unless id names another agent.
writesnot idempotentMCP toolAgent
A hook uses it to leave a trace.
Calling it#
curl -X POST http://127.0.0.1:8787/komrad.agent.v1.AgentService/Log \
-H 'Content-Type: application/json' \
-d '{
"message": "<message>"
}'komrad rpc log \
--message '<string>'{
"name": "log",
"arguments": {
"message": "<message>"
}
}Offered by the komrad MCP server to writer, reviewer, orchestrator agents.
Request#
LogRequest#
| Field | Type | Description |
|---|---|---|
id | uuid | The agent the line is about, by id. Unset for the caller. |
message | string* at most 2048 characters a log message must carry no control characters | The line to write. |
script | string at most 255 characters must be a file name without a slash, a leading dot or control characters | The hook whose run the line belongs to. A running hook finds its name in |
Response#
Empty#
No fields.