UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

13 lines (12 loc) 687 B
import type { ToolFunction } from '../../scripting/javascript/JavascriptExecutionToolsOptions'; import type { string_javascript_name } from '../../types/string_person_fullname'; /** * Creates one SERP-backed tool function used as a local fallback for search-like commitments. * * @param toolName - Technical tool name used for validation messages. * @param resultLabel - Human-readable label used in formatted results. * @returns Async tool function compatible with commitment tool registration. * * @private internal helper for search-like commitments */ export declare function createSerpSearchToolFunction(toolName: string_javascript_name, resultLabel: string): ToolFunction;