@ampcode/plugin 0.0.0-20260318001856-g7101e3d → 0.0.0-20260320001809-g233ce5d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +3 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -422,15 +422,15 @@ declare module '@ampcode/plugin' {
|
|
|
422
422
|
* Event payload for tool.call event.
|
|
423
423
|
* This is a request that expects a response from the handler.
|
|
424
424
|
*/
|
|
425
|
-
export interface ToolCallEvent
|
|
425
|
+
export interface ToolCallEvent {
|
|
426
426
|
/** Unique identifier for this tool use (e.g., "toolu_xxx") */
|
|
427
427
|
toolUseID: string
|
|
428
428
|
|
|
429
429
|
/** Name of the tool that will be executed */
|
|
430
|
-
tool:
|
|
430
|
+
tool: string
|
|
431
431
|
|
|
432
432
|
/** Input arguments that will be passed to the tool */
|
|
433
|
-
input:
|
|
433
|
+
input: Record<string, unknown>
|
|
434
434
|
}
|
|
435
435
|
|
|
436
436
|
/**
|