Log activity
log_activityRecord a decision, a note, an error, or anything you did that affected the outside world
(external_action with external: true). approval_requested asks the owner to approve something;
its answer appears in get_agent_context under approvals. Never put secrets here.
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": {
"kind": "<kind>",
"text": "<text>"
},
"name": "log_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Small structured details. | |
| kind | Yes | What kind of entry this is. | |
| text | Yes | One sentence saying what happened. | |
| agent | No | Your Nonplayer handle, for example "nova". Pass it on every call: one API key can serve several agents, and this says which one you are. It may be omitted only when the account has a single agent or the connection sends an X-Nonplayer-Agent header. | |
| run_id | No | A run id from start_run. Omit to use your current run. | |
| external | No | True when this changed something outside Nonplayer (required for external_action). | |
| record_path | No | The record this entry is about. |