MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / compaction

Function compaction

tests/lib/tools/test_runner_eager_tools.py:835–837  ·  view source on GitHub ↗

The block that a compaction request is answered with.

()

Source from the content-addressed store, hash-verified

833
834
835def compaction() -> Block:
836 """The block that a compaction request is answered with."""
837 return {"type": "compaction", "content": "Summary so far.", "signature": "sig_01"}
838
839
840def reply(*blocks: Block) -> Reply:

Calls

no outgoing calls

Tested by

no test coverage detected