docs(coding-agent): fix obsolete extension UI examples closes #6735
This commit is contained in:
@@ -162,7 +162,7 @@ export default function (pi: ExtensionAPI) {
|
||||
parameters: Type.Object({
|
||||
name: Type.String({ description: "Name to greet" }),
|
||||
}),
|
||||
async execute(toolCallId, params, onUpdate, ctx, signal) {
|
||||
async execute(toolCallId, params, signal, onUpdate, ctx) {
|
||||
return {
|
||||
content: [{ type: "text", text: `Hello, ${params.name}!` }],
|
||||
details: {},
|
||||
|
||||
Reference in New Issue
Block a user