Adapter Details: test

Provides various test operations for development and debugging. Supports echo operations, random data generation, error simulation, delay operations, and never-completing tasks. Perfect for testing async behavior, error handling, and orchestration workflows in the Covia platform.

Name:test
Class:covia.adapter.TestAdapter

MCP Tools

This adapter provides 16 MCP tool(s) for AI agent integration:

Tool NameDescription
test_taskllmTest LLM that completes tasks. Reads task context from user messages, calls complete_task for the first task, then returns a text summary. Used for testing the full agent:request pipeline.
test_workspacellmTest LLM that exercises workspace tools (covia_write, covia_append, covia_read) in sequence within a single agent run. Used for end-to-end testing of agent workspace interaction.
test_delayRuns another op after a delay
test_selfchatTest LLM that invokes agent:message on itself during its first transition, then handles the FOLLOWUP message on the next cycle. Used to regression-test nested self-chat during the agent run loop.
test_wakeresponseTest transition that returns a wakeTime from state.wakeTime in the transition result. Used to exercise per-thread scheduler wire-up (B8.8).
test_compactllmTest LLM that exercises the compact harness tool. First call returns tool calls for test:echo and compact; second call verifies the compacted segment and returns text.
test_randomGenerates a specified number of random bytes using a cryptographically secure random number generator
test_chatA multi-turn test operation that echoes messages back. Send messages via POST /api/v1/jobs/{id}. Send {"content": "done"} to complete.
test_errorAlways fails, regardless of input
test_echoReturns the input unchanged. Useful for testing or as a generalised identity function.
test_taskcompleteTest transition function that auto-completes all tasks. Returns taskResults with each task's input as output.
test_neverAn operation that never completes, i.e. its status will remain PENDING
test_pauseA test operation that immediately pauses itself. Send any message to unpause and complete the job with the original input as output.
test_toolllmTest LLM that requests tool calls. On first call returns a tool call for test:echo; after tool results arrive returns a text summary. Used for testing the agent tool call loop.
test_llmTest LLM operation that echoes the last user message. Accepts a messages array and returns an assistant message map. Used for testing the agent loop without a real LLM.
orchestratorRuns a sequence of operations

Navigation

Back to all adapters

Back to index