blackboard_dump
Retrieve the complete, non-expired state of the collaborative blackboard to view all current beliefs and research data shared by agents.
Instructions
Return the full (non-expired) blackboard state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The tool handler function for 'blackboard_dump'. Uses the @mcp.tool() decorator to register with FastMCP. Delegates to Blackboard.dump() to return the full non-expired state.
@mcp.tool() def blackboard_dump() -> dict[str, Any]: """Return the full (non-expired) blackboard state.""" return _BLACKBOARD.dump() - The Blackboard.dump() helper method. Iterates the in-memory store, filters out expired beliefs, and returns each as a dict (via Belief.to_dict()).
def dump(self) -> dict[str, dict[str, Any]]: with self._lock: return { k: b.to_dict() for k, b in self._store.items() if not b.expired() } - src/mcp_research_collective/mcp_server.py:71-72 (registration)The @mcp.tool() decorator registers the function as an MCP tool named 'blackboard_dump' with the FastMCP server.
@mcp.tool() def blackboard_dump() -> dict[str, Any]: - The function signature acts as the schema: no input parameters, returns a dict[str, Any].
def blackboard_dump() -> dict[str, Any]: """Return the full (non-expired) blackboard state."""