Metadata-Version: 2.5
Name: llama-index-tools-shinapi
Version: 0.1.1
Summary: Search what high-authority Japanese sites say now, as a LlamaIndex tool. By ShinAPI.
Project-URL: Homepage, https://shinapi.com
Project-URL: Documentation, https://docs.shinapi.com
License-Expression: MIT
License-File: LICENSE
Keywords: agents,japan,japanese,llama-index,llm,rag,search
Requires-Python: >=3.11
Requires-Dist: llama-index-core<0.15,>=0.14
Requires-Dist: shinapi>=0.1
Description-Content-Type: text/markdown

# llama-index-tools-shinapi

Search what high-authority Japanese sites say now, from LlamaIndex: a tool spec for agents. By
[ShinAPI](https://shinapi.com).

```sh
pip install llama-index-tools-shinapi
```

Get a key in the [console](https://console.shinapi.com) and set `SHINAPI_KEY`, or pass `api_key`.

```python
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.anthropic import Anthropic
from llama_index.tools.shinapi import ShinAPIToolSpec

agent = FunctionAgent(
    tools=ShinAPIToolSpec().to_tool_list(),
    llm=Anthropic(model="claude-sonnet-5-5"),
)
await agent.run("2026年の年収の壁はいくらですか")
```

The tool answers the model with the search's JSON: each passage as published, with its URL, publisher, dates, licence
and the credit line to show. Its description tells the model what is indexed and what to do with each outcome:
`answered`, `no_match_in_scope` or `out_of_scope`.

Read the [docs](https://docs.shinapi.com).
