Type Alias PythonInterpreterToolParams
PythonInterpreterToolParams: {
args: undefined | string[];
callbacks?: undefined | Callbacks;
checkAPIVersion: undefined | boolean;
enableRunUntilComplete: undefined | boolean;
env: undefined | {
[key: string]: string;
};
fullStdLib: undefined | boolean;
indexURL: undefined | string;
instance: typeof PyodideAPI;
jsglobals: undefined | object;
lockFileURL: undefined | string;
metadata?: undefined | Record<string, unknown>;
packageCacheDir: undefined | string;
packages: undefined | string[];
pyproxyToStringRepr: undefined | boolean;
responseFormat?: undefined | string;
stdLibURL: undefined | string;
stderr: undefined | ((msg: string) => void);
stdin: undefined | (() => string);
stdout: undefined | ((msg: string) => void);
tags?: undefined | string[];
verbose?: undefined | boolean;
verboseParsingErrors?: undefined | boolean;
}
Type declaration
args: undefined | string[]
Optional
callbacks?: undefined | Callbacks
checkAPIVersion: undefined | boolean
enableRunUntilComplete: undefined | boolean
env: undefined | {
[key: string]: string;
}
fullStdLib: undefined | boolean
indexURL: undefined | string
instance: typeof PyodideAPI
jsglobals: undefined | object
lockFileURL: undefined | string
Optional
metadata?: undefined | Record<string, unknown>
packageCacheDir: undefined | string
packages: undefined | string[]
pyproxyToStringRepr: undefined | boolean
Optional
responseFormat?: undefined | string
stdLibURL: undefined | string
stderr: undefined | ((msg: string) => void)
stdin: undefined | (() => string)
stdout: undefined | ((msg: string) => void)
Optional
tags?: undefined | string[]
Optional
verbose?: undefined | boolean
Optional
verboseParsingErrors?: undefined | boolean
The tool response format.
If "content" then the output of the tool is interpreted as the contents of a ToolMessage. If "content_and_artifact" then the output is expected to be a two-tuple corresponding to the (content, artifact) of a ToolMessage.