Skip to content

Commit 56dc9bf

Browse files
Copilothotlong
andauthored
docs: clarify AIToolCall.name references snake_case convention from AIToolDefinition
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent a0734d2 commit 56dc9bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/spec/src/contracts/ai-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export interface AIToolDefinition {
7575
export interface AIToolCall {
7676
/** Unique ID for this tool call */
7777
id: string;
78-
/** Tool name */
78+
/** Tool name (must match an AIToolDefinition name, snake_case) */
7979
name: string;
8080
/** JSON-stringified arguments */
8181
arguments: string;

0 commit comments

Comments
 (0)