Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/tools/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import log from '@apify/log';

import { ACTOR_ENUM_MAX_LENGTH, ACTOR_MAX_DESCRIPTION_LENGTH, RAG_WEB_BROWSER_WHITELISTED_FIELDS } from '../const.js';
import { MAX_TOOL_NAME_LENGTH, TOOL_NAME_HASH_LENGTH } from '../mcp/const.js';
import type { ActorInfo, ActorInputSchema, ActorInputSchemaProperties, SchemaProperties } from '../types.js';
import type { ActorInfo, ActorInputSchema, SchemaProperties } from '../types.js';
import {
addGlobsProperties,
addKeyValueProperties,
Expand All @@ -17,6 +17,8 @@ import {
addResourcePickerProperties as addArrayResourcePickerProperties,
} from '../utils/apify_properties.js';

type ActorInputSchemaProperties = Record<string, SchemaProperties>;

/*
* Checks if the given ActorInfo represents an MCP server Actor.
*/
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ export type PromptBase = Prompt & {
render: (args: Record<string, string>) => string;
};

export type ActorInputSchemaProperties = Record<string, SchemaProperties>;
export type DatasetItem = Record<number | string, unknown>;
/**
* Apify token type.
Expand Down