Tool Details: agent_reload_context

Basic Information

Tool Name:agent_reload_context
Asset Name:Reload Agent Session Context
Description:Explicitly invalidates one idle session's materialised provider prefix so its next inference rebuilds the system prompt, fixed tools, skill catalog and pinned context from current agent configuration. Conversation history and loaded context are preserved exactly. Ordinary agent updates do not do this implicitly.
Adapter:agent
Asset Hash:0x51adf540825545abaf3854a6f26b4541605dc54d9853ba0db00ba19742b1890a
Input
PropertyTypeDescription
sessionId*stringHex ID of the idle session whose provider prefix should be rebuilt, with or without a 0x prefix
agentId*stringAgent reference: a bare name for the caller's agent, g/<id>, /g/<id>, or <ownerDID>/g/<id>
Output
PropertyTypeDescription
reloadedbooleanTrue when a materialised prefix was cleared
agentIdstring-
addressstring-
sessionIdstring-
framesintegerNumber of frame prefixes cleared

MCP Tool Usage Examples

This tool can be called via the MCP (Model Context Protocol) endpoint. Here are examples of how to use it:

JSON-RPC Call Example:

POST to https://venue-4.covia.ai/mcp

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "agent_reload_context",
    "arguments": {
      "input": "your input here"
    }
  }
}
cURL Example:
curl -X POST https://venue-4.covia.ai/mcp \\
  -H "Content-Type: application/json" \\
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "agent_reload_context",
      "arguments": {
        "input": "your input here"
      }
    }
  }'
Python Example:
import requests
import json

url = "https://venue-4.covia.ai/mcp"
payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "agent_reload_context",
        "arguments": {
            "input": "your input here"
        }
    }
}

response = requests.post(url, json=payload)
result = response.json()
print(result)
JavaScript/Node.js Example:
const fetch = require('node-fetch');

const url = 'https://venue-4.covia.ai/mcp';
const payload = {
    jsonrpc: '2.0',
    id: 1,
    method: 'tools/call',
    params: {
        name: 'agent_reload_context',
        arguments: {
            input: 'your input here'
        }
    }
};

fetch(url, {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json'
    },
    body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data));

Asset Metadata

{
	"name": "Reload Agent Session Context",
	"description": "Explicitly invalidates one idle session's materialised provider prefix so its next inference rebuilds the system prompt, fixed tools, skill catalog and pinned context from current agent configuration. Conversation history and loaded context are preserved exactly. Ordinary agent updates do not do this implicitly.",
	"dateCreated": "2026-08-29T00:00:00Z",
	"operation": {
		"adapter": "agent:reloadContext",
		"internal": false,
		"toolName": "agent_reload_context",
		"input": {
			"type": "object",
			"properties": {
				"agentId": { "type": "string", "description": "Agent reference: a bare name for the caller's agent, g/<id>, /g/<id>, or <ownerDID>/g/<id>" },
				"sessionId": { "type": "string", "description": "Hex ID of the idle session whose provider prefix should be rebuilt, with or without a 0x prefix" }
			},
			"required": ["agentId", "sessionId"]
		},
		"output": {
			"type": "object",
			"properties": {
				"agentId": { "type": "string" },
				"address": { "type": "string" },
				"sessionId": { "type": "string" },
				"reloaded": { "type": "boolean", "description": "True when a materialised prefix was cleared" },
				"frames": { "type": "integer", "description": "Number of frame prefixes cleared" }
			}
		}
	}
}

Navigation

Back to adapter details

Back to all adapters

Back to index