uipath-functions
Installation
SKILL.md
UiPath Coded Functions
Atomic, deterministic units of business logic — no LLM reasoning, no agent loop — written in Python or TypeScript/JavaScript and shipped as first-class UiPath artifacts. One uip function CLI drives both languages. A Coded Function takes typed input, executes deterministic code, and returns typed output; use one when generic activities don't cover the required logic (custom-auth API calls, domain rules, ERP queries via Integration Service, data transforms).
When to Use This Skill
- Scaffold, author, or modify a coded function in either language (
uip function new <NAME> -l py|ts|js) - Declare typed contracts — Pydantic Input/Output (Python) or
defineSchema<T>()/ JSON Schema literals (JS/TS) - Test locally:
uip function run(both languages),uip function serve+ curl (JS/TS HTTP endpoints) - Error handling: returned error fields (Python),
FunctionError/status codes and job fault semantics (JS/TS) - Call UiPath platform APIs from inside a function (Python SDK;
@uipath/uipath-typescriptwithctxtokens) - Wire a Coded App frontend to a JS/TS function backend (tokens, CORS, timeout budget, local dev loop)
- Pack, publish, invoke in production; register in a solution; resource bindings
- Debug deployed failures: cold-start hangs, errorCode 4801/4804/1623, missing tokens, entrypoint errors
Do NOT use this skill for:
- LLM/agentic projects (
agent.json, LangGraph, LlamaIndex, OpenAI Agents, agent loop) →uipath-agents - The Coded App frontend itself (React/Vite app code, PKCE setup, app deploy) →
uipath-coded-apps