Palantir is continually developing more tools, prompts, and resources to improve Palantir MCP. Currently, Palantir MCP provides the following tools:
| Tool name |
Description |
| list_resources_in_foundry_folder |
Returns resources available in a given folder or project RID, with pagination support. |
| get_project_imports |
Returns datasets that have been imported into the current Foundry project, with pagination support. |
| list_foundry_namespaces |
Lists all Foundry namespaces that the user has access to. Useful for discovering available namespaces before creating a project. |
| list_foundry_project_templates |
Lists available project templates for a Foundry namespace. Templates define the initial structure and settings for new projects. |
| create_foundry_project |
Creates a new Foundry project in a specified namespace using a specified template. |
| search_foundry_projects |
Searches for Foundry projects by name or description. Returns matching projects with their RID, name, description, and path. |
| Tool name |
Description |
| get_foundry_dataset_schema |
Returns the definition of a Palantir dataset for a given dataset RID or dataset path, including schema information. |
| run_sql_query_on_foundry_dataset |
Returns the result of running a SQL query on a Palantir dataset on an optional branch. |
| create_and_write_to_foundry_dataset |
Creates a dataset in Foundry with data provided from a CSV file, useful for uploading local data or creating mock data. |
| list_dataset_files |
Lists the files in a Foundry dataset for a given dataset RID or dataset path. Useful for exploring datasets without a schema. |
| build_datasets |
Builds datasets in Python transforms repositories. |
| get_build_status |
Returns the build status of CI checks or dataset builds. Supports checking by build RID, tag, or branch. |
| search_dataset_builds |
Searches for historic builds based on criteria such as dataset RIDs, build statuses, branches, and time ranges. |
| get_job_status |
Retrieves detailed status information for a specific job by job RID, including error messages and source code information. |
| get_dataset_stats |
Returns size and file statistics for a Foundry dataset, including total size, number of files, hidden files, and number of transactions. |
| Tool name |
Description |
| get_resource_graph |
Returns the resource graph for data lineage visualization. |
| Tool name |
Description |
| get_foundry_ontology_rid |
Fetches the ontology RID for a given Foundry OSDK application or local repository. |
| search_foundry_ontology |
Searches the ontology for relevant ontology entities for a given query. |
| search_foundry_functions |
Searches the function registry for relevant ontology entities for a given query. |
| view_foundry_object_type |
Allows viewing an existing object type in the ontology, including its properties, link types, and action types. |
| create_or_update_foundry_object_type |
Creates or updates object types in the ontology on a provided branch. |
| delete_foundry_object_type |
Deletes an object type from the ontology on a provided branch. |
| view_foundry_link_type |
Allows viewing an existing link type in the ontology. |
| create_or_update_foundry_link_type |
Creates or updates link types in the ontology on a provided branch. |
| delete_foundry_link_type |
Deletes a link type from the ontology on a provided branch. |
| view_foundry_action_type |
Allows viewing an existing action type in the ontology, including its parameters, logic rules, and dependent object types. |
| create_or_update_foundry_action_type |
Creates or updates action types in the ontology on a provided branch. Supports object modifications, deletions, and link operations. |
| delete_foundry_action_type |
Deletes an action type from the ontology on a provided branch. |
| Tool name |
Description |
| query_ontology_objects |
Queries ontology objects based on specified criteria with pagination support. |
| aggregate_ontology_objects |
Performs aggregation functions on object fields, supporting grouping, filtering, and multiple aggregation types. |
| Tool name |
Description |
| get_ontology_sdk_context |
Fetches curated documentation about the ontology SDK for the user's OSDK repository. |
| get_ontology_sdk_examples |
Retrieves code examples for using the ontology SDK, filtered by SDK version and topic. |
| Tool name |
Description |
| list_platform_sdk_apis |
Lists available Platform SDK APIs for a given Foundry product. |
| get_platform_sdk_api_reference |
Gets API reference documentation and code examples for Platform SDK API endpoints. |
| Tool name |
Description |
| get_repository_context |
Fetches curated context about the current Foundry code repository, including project and ontology information. |
| create_python_transforms_code_repository |
Creates a new Python transforms code repository from scratch. |
| clone_code_repository_locally |
Clones an existing Foundry code repository to a local directory. |
| create_code_repository_pull_request |
Creates a pull request in a Foundry code repository. |
| list_code_repository_pull_requests |
Lists pull requests for a Foundry code repository with filtering by status, branch, author, and title. |
| get_code_repository_pull_request |
Gets comprehensive information about a pull request, including review status, CI build status, and all comments. |
| create_code_repository_pull_request_comment |
Creates a comment on a Foundry code repository pull request. Supports general comments and inline comments anchored to a specific file and line. |
| Tool name |
Description |
| create_global_branch |
Creates a new Global Branch with a specified display name and description. |
| view_global_branch |
Allows viewing an existing Global Branch, including branched resources and ontology modifications. |
| close_global_branch |
Closes an existing Global Branch. |
| create_global_proposal |
Creates a new Global proposal, which is the final step of a global branch. |
| view_global_proposal |
Allows viewing an existing Global proposal and gets contextual information based on its status. |
| close_global_proposal |
Closes an existing Global proposal without merging it. |
| Tool name |
Description |
| connect_to_dev_console_app |
Connects a non-Foundry Git repository to a Developer Console application. |
| convert_to_osdk_react |
Converts an existing OSDK application to use @osdk/react with OsdkProvider2 and optionally @osdk/react-components. |
| generate_new_ontology_sdk_version |
Adds ontology entities modified by a given Foundry proposal to the ontology SDK and generates a new version of that SDK. |
| install_sdk_package |
Checks the status of an SDK package generation and provides installation instructions when ready. |
| view_osdk_definition |
Fetches a high-level overview of the OSDK definition, including object types, link types, action types, and functions. |
| Tool name |
Description |
| get_compute_modules_documentation |
Fetches curated documentation about Compute Modules and the compute_modules Python SDK. |
| get_compute_modules_info |
Gets status and configuration for a compute module, including runtime status, scaling config, and runtime parameters. |
| get_compute_modules_logs |
Retrieves the latest logs for a compute module by build job RID, with pagination support. |
| manage_compute_modules |
Manages a compute module lifecycle: start, stop, or configure dev mode for automatic upgrades. |
| execute_compute_modules_function |
Executes a compute module function synchronously. Only works with compute modules running in FUNCTION mode. |
| Tool name |
Description |
| create_foundry_rest_api_data_source |
Creates a REST API data source connection in Foundry for integrating with external systems. |
| create_foundry_rest_api_data_source_webhook |
Creates a webhook for a REST API data source in Foundry. |
| update_foundry_rest_api_data_source_webhook |
Updates an existing webhook in Foundry by publishing a new version with an updated spec. |
| view_foundry_rest_api_data_source_webhook |
Fetches the latest version of an existing webhook in Foundry, including its metadata, spec, inputs, calls, and outputs. |
| get_or_create_network_egress_policy |
Gets or creates a network egress policy in Foundry. Useful when creating REST API data sources and webhooks. |
| Tool name |
Description |
| get_python_transforms_documentation |
Fetches curated documentation about Python transforms and thetransforms.api SDK. |
| get_typescript_v1_functions_documentation |
Retrieves documentation and code snippets for TypeScript v1 function repositories. |
| get_typescript_v2_functions_documentation |
Retrieves documentation and code snippets for TypeScript v2 function repositories. |
| get_custom_widget_documentation |
Gets comprehensive documentation for custom widgets, including React widgets for Workshop and Slate. |
| get_ml_documentation |
Fetches comprehensive ML documentation for Python transforms, covering model training, MLOps, and framework-specific patterns. |
| get_spark_profile_documentation |
Fetches documentation on Spark profile configuration for Python transforms, including guidance for selecting executor memory, number of executors, and driver settings. |
| get_osdk_react_components_documentation |
Gets documentation for the @osdk/react-components library, including ObjectTable and other pre-built components. |
| load_foundry_documentation_page |
Loads a full Palantir Foundry documentation page by its path and returns the complete page content in Markdown format. |
| get_documentation_summaries |
Retrieves a curated documentation summary bundle for a specific Foundry topic area, covering key concepts, patterns, and reference material. |
| search_foundry_documentation |
Searches Palantir Foundry platform documentation indices for relevant context snippets for a given query. This tool is only available with AIP. |
中文翻译
可用工具
Palantir 正在持续开发更多工具、提示词和资源,以改进 Palantir MCP。目前,Palantir MCP 提供以下工具:
Compass 工具
| 工具名称 |
描述 |
| list_resources_in_foundry_folder |
返回指定文件夹或项目 RID 中的可用资源,支持分页。 |
| get_project_imports |
返回已导入当前 Foundry 项目的数据集,支持分页。 |
| list_foundry_namespaces |
列出用户有权访问的所有 Foundry 命名空间。在创建项目前,可用于发现可用的命名空间。 |
| list_foundry_project_templates |
列出指定 Foundry 命名空间下的可用项目模板。模板定义了新项目的初始结构和设置。 |
| create_foundry_project |
在指定命名空间中使用指定模板创建新的 Foundry 项目。 |
| search_foundry_projects |
按名称或描述搜索 Foundry 项目。返回匹配项目的 RID、名称、描述和路径。 |
数据集工具
| 工具名称 |
描述 |
| get_foundry_dataset_schema |
返回指定数据集 RID 或路径的 Palantir 数据集定义,包含模式信息。 |
| run_sql_query_on_foundry_dataset |
在指定分支上对 Palantir 数据集执行 SQL 查询并返回结果。 |
| create_and_write_to_foundry_dataset |
在 Foundry 中创建数据集,并从 CSV 文件写入数据。适用于上传本地数据或创建模拟数据。 |
| list_dataset_files |
列出指定数据集 RID 或路径下的文件。适用于探索无模式的数据集。 |
| build_datasets |
在 Python 转换代码仓库中构建数据集。 |
| get_build_status |
返回 CI 检查或数据集构建的状态。支持按构建 RID、标签或分支进行查询。 |
| search_dataset_builds |
根据数据集 RID、构建状态、分支和时间范围等条件搜索历史构建。 |
| get_job_status |
通过任务 RID 获取特定任务的详细状态信息,包括错误消息和源代码信息。 |
| get_dataset_stats |
返回 Foundry 数据集的大小和文件统计信息,包括总大小、文件数、隐藏文件数和事务数。 |
数据血缘工具
| 工具名称 |
描述 |
| get_resource_graph |
返回用于数据血缘可视化的资源图。 |
本体论工具
| 工具名称 |
描述 |
| get_foundry_ontology_rid |
获取指定 Foundry OSDK 应用或本地仓库的本体论 RID。 |
| search_foundry_ontology |
根据给定查询搜索本体论中相关的本体论实体。 |
| search_foundry_functions |
根据给定查询在函数注册表中搜索相关的本体论实体。 |
| view_foundry_object_type |
查看本体论中现有的对象类型,包括其属性、链接类型和操作类型。 |
| create_or_update_foundry_object_type |
在指定分支上创建或更新本体论中的对象类型。 |
| delete_foundry_object_type |
在指定分支上删除本体论中的对象类型。 |
| view_foundry_link_type |
查看本体论中现有的链接类型。 |
| create_or_update_foundry_link_type |
在指定分支上创建或更新本体论中的链接类型。 |
| delete_foundry_link_type |
在指定分支上删除本体论中的链接类型。 |
| view_foundry_action_type |
查看本体论中现有的操作类型,包括其参数、逻辑规则和依赖的对象类型。 |
| create_or_update_foundry_action_type |
在指定分支上创建或更新本体论中的操作类型。支持对象修改、删除和链接操作。 |
| delete_foundry_action_type |
在指定分支上删除本体论中的操作类型。 |
对象集工具
| 工具名称 |
描述 |
| query_ontology_objects |
根据指定条件查询本体论对象,支持分页。 |
| aggregate_ontology_objects |
对对象字段执行聚合函数,支持分组、过滤和多种聚合类型。 |
OSDK 工具
| 工具名称 |
描述 |
| get_ontology_sdk_context |
获取用户 OSDK 仓库中关于本体论 SDK 的精选文档。 |
| get_ontology_sdk_examples |
检索使用本体论 SDK 的代码示例,可按 SDK 版本和主题进行过滤。 |
| 工具名称 |
描述 |
| list_platform_sdk_apis |
列出指定 Foundry 产品可用的 Platform SDK API。 |
| get_platform_sdk_api_reference |
获取 Platform SDK API 端点的 API 参考文档和代码示例。 |
代码仓库工具
| 工具名称 |
描述 |
| get_repository_context |
获取当前 Foundry 代码仓库的精选上下文信息,包括项目和本体论信息。 |
| create_python_transforms_code_repository |
从头创建新的 Python 转换代码仓库。 |
| clone_code_repository_locally |
将现有的 Foundry 代码仓库克隆到本地目录。 |
| create_code_repository_pull_request |
在 Foundry 代码仓库中创建拉取请求。 |
| list_code_repository_pull_requests |
列出 Foundry 代码仓库的拉取请求,可按状态、分支、作者和标题进行过滤。 |
| get_code_repository_pull_request |
获取拉取请求的全面信息,包括审查状态、CI 构建状态和所有评论。 |
| create_code_repository_pull_request_comment |
在 Foundry 代码仓库的拉取请求上创建评论。支持一般评论和锚定到特定文件及行的行内评论。 |
全局分支工具
| 工具名称 |
描述 |
| create_global_branch |
创建新的全局分支,并指定显示名称和描述。 |
| view_global_branch |
查看现有的全局分支,包括分支资源和本体论修改。 |
| close_global_branch |
关闭现有的全局分支。 |
| create_global_proposal |
创建新的全局提案,这是全局分支的最后一步。 |
| view_global_proposal |
查看现有的全局提案,并根据其状态获取上下文信息。 |
| close_global_proposal |
关闭现有的全局提案,但不进行合并。 |
开发者控制台工具
| 工具名称 |
描述 |
| connect_to_dev_console_app |
将非 Foundry Git 仓库连接到开发者控制台应用。 |
| convert_to_osdk_react |
将现有的 OSDK 应用转换为使用 @osdk/react 的 OsdkProvider2,并可选择使用 @osdk/react-components。 |
| generate_new_ontology_sdk_version |
将指定 Foundry 提案修改的本体论实体添加到本体论 SDK,并生成该 SDK 的新版本。 |
| install_sdk_package |
检查 SDK 包生成的状态,并在准备就绪时提供安装说明。 |
| view_osdk_definition |
获取 OSDK 定义的高级概览,包括对象类型、链接类型、操作类型和函数。 |
计算模块工具
| 工具名称 |
描述 |
| get_compute_modules_documentation |
获取关于计算模块和 compute_modules Python SDK 的精选文档。 |
| get_compute_modules_info |
获取计算模块的状态和配置,包括运行时状态、扩缩容配置和运行时参数。 |
| get_compute_modules_logs |
按构建任务 RID 检索计算模块的最新日志,支持分页。 |
| manage_compute_modules |
管理计算模块的生命周期:启动、停止或配置开发模式以实现自动升级。 |
| execute_compute_modules_function |
同步执行计算模块函数。仅适用于以 FUNCTION 模式运行的计算模块。 |
数据连接工具
| 工具名称 |
描述 |
| create_foundry_rest_api_data_source |
在 Foundry 中创建 REST API 数据源连接,用于与外部系统集成。 |
| create_foundry_rest_api_data_source_webhook |
在 Foundry 中为 REST API 数据源创建 Webhook。 |
| update_foundry_rest_api_data_source_webhook |
通过发布包含更新规范的新版本来更新 Foundry 中现有的 Webhook。 |
| view_foundry_rest_api_data_source_webhook |
获取 Foundry 中现有 Webhook 的最新版本,包括其元数据、规范、输入、调用和输出。 |
| get_or_create_network_egress_policy |
在 Foundry 中获取或创建网络出站策略。在创建 REST API 数据源和 Webhook 时非常有用。 |
文档搜索工具
| 工具名称 |
描述 |
| get_python_transforms_documentation |
获取关于 Python 转换和 transforms.api SDK 的精选文档。 |
| get_typescript_v1_functions_documentation |
检索 TypeScript v1 函数仓库的文档和代码片段。 |
| get_typescript_v2_functions_documentation |
检索 TypeScript v2 函数仓库的文档和代码片段。 |
| get_custom_widget_documentation |
获取自定义小部件的全面文档,包括用于 Workshop 和 Slate 的 React 小部件。 |
| get_ml_documentation |
获取 Python 转换的全面机器学习文档,涵盖模型训练、MLOps 和特定框架的模式。 |
| get_spark_profile_documentation |
获取 Python 转换的 Spark 配置文件文档,包括选择执行器内存、执行器数量和驱动程序设置的指南。 |
| get_osdk_react_components_documentation |
获取 @osdk/react-components 库的文档,包括 ObjectTable 和其他预构建组件。 |
| load_foundry_documentation_page |
通过路径加载完整的 Palantir Foundry 文档页面,并以 Markdown 格式返回完整的页面内容。 |
| get_documentation_summaries |
检索特定 Foundry 主题领域的精选文档摘要包,涵盖关键概念、模式和参考资料。 |
| search_foundry_documentation |
搜索 Palantir Foundry 平台文档索引,获取与给定查询相关的上下文片段。此工具仅在 AIP 中可用。 |