codetether-agent 4.7.0-a-002.4

A2A-native AI coding agent for the CodeTether ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde_json::json;

use crate::tool::Tool;
use crate::tool::tetherscript::TetherScriptPluginTool;

#[tokio::test]
async fn invalid_params_return_tool_error() {
    let tool = TetherScriptPluginTool::new();
    let result = tool.execute(json!({"hook": 42})).await.unwrap();

    assert!(!result.success);
    assert!(result.output.contains("Invalid tetherscript_plugin params"));
}