View as Markdown
arXiv icon

arXiv ACTION

Search Articles

Search for articles on arXiv. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's arXiv account once, then configure and run Search Articles from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "arxiv-search-articles",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    arxiv: { authProvisionId: "apn_xxxxxxx" },
    searchQuery: "Search Query",
    idList: ["ID List"],
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Search Articles inputs
Property Type Description
searchQuery Search Query string
The search query to use. Example: all:electron. See the documentation for information on constructing a search query.
Optional
idList ID List string[]
A list of arXiv article IDs to search for. Example ID: 2505.08081v1
Optional
start Start integer
The index of the first result to return. Defaults to 0.
Optional
maxResults Max Results integer
The maximum number of results to return. Defaults to 10.
Optional
filename Filename string
A filename to save the result as an xml file to the /tmp directory. Example: arxiv-search-results.xml
Optional
syncDir SyncDir dir
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
arxiv-search-articles
Version
0.0.2
App
arXiv
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes